Are you running this on your local machine? Do you have build-essentials installed?
SOLVED Session Issue
For some reason my login sessions seem to be messed up somehow. I stay logged into nodebb without issue but when i click the admin link, it redirects me to the login page. If i login again and try to go to admin, i get redirected to login, over and over no matter what i do. If i logout of the forum and then log back in I can access the admin section again for a little while but at some unspecified time in the future that session or cookie seems to expire and im back to only being a normal user.
To be clear, I can still access my account details and I can post on the forum as myself and everything else acts like im logged in, I just can't access the admin panel.
Nevermind I fixed it with the session-sharing plugin. I set it to revalidate instead of trust.