It is dangerous to run nodebb this way. Do so at your own risk.
I'm not sure exactly what is causing that npm error, but it's not a NodeBB bug. I suggest you look it up yourself.
So I'm trying to upgrade 0.3.2 to 0.4.0, but git-pull returns:
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
What or where's is the problem? Btw, I've been doing this for the past 2 months with no problem, so I have no idea why this should happen when upgrading to 0.4.0
Messed up on my end. Mostly the site hangs and I have to force reload before it shows the full page. On Chrome Web console, I get:
WebSocket connection to 'ws://forum.linuxbsdos.com/socket.io/1/websocket/Zs91CdJ09UNyJSkglTmX' failed: Unexpected response code: 502 http://forum.linuxbsdos.com/ Uncaught TypeError: object is not a function
I see it how it is in the second screenshot (as I'm using Chrome)... I am seeing it not ajaxify between pages properly...
Then take a look at the web inspector and let me know what shows up when you switch pages.
Oh, while you're at it... try this:
/public/templatesfolder, it will be regenerated on restart