need help with hosting NodeBB
-
@julian I already got node.js just need help with installing NodeBB with DigitalOcean's VPS (sorry but I am not good with these type of stufs :/)
-
As @baris said your Node.js version is too old. Install Node.js 6.
-
@julian ok but why?
-
Because it is shiny and new and very pretty, and in all likelihood I really think NodeBB needs at least Node.js 6 to work
-
@julian does node -v tell me the version? because when I type that it says V8.9.4
-
@alexsir said in need help with hosting NodeBB:
TypeError: Cannot read property 'R_OK' of undefined
Are you still getting this error?
-
@julian I don't get it could you give me the guide I should read?
-
and btw I am on Windows
-
The recommended installation instructions are https://docs.nodebb.org/installing/os/ubuntu/
The digital ocean server needs to be running Node.js v6.
-
@julian how do I check my version of Node.JS?
-
@alexsir said in need help with hosting NodeBB:
@julian how do I check my version of Node.JS?
node -v
will show the version of Node you are running.You also can't run Windows on Digital Ocean droplets, so I'm not sure where your hosting is. If you are using Digital Ocean, the link julian provided should have all of the steps you need.
I'd suggest getting familiar with the shell, since that is a pretty big part of maintaining any web application (not just NodeBB).
-
@teh_g I am using the Windows 8.1 OS, in DigitalOcean it choosed Ubuntu for me
-
and MongoDB tells:
[Thread1] SyntaxError: Missing ; before statement @<shell>:1:10