need help with hosting NodeBB
-
Hey, Just bought an VPS from DigitalOcean and followed these instructions: https://www.blogsynthesis.com/install-nodebb-on-digitalocean/ but I get an error while running node app --setup the error message is: TypeError: graceful.gracefulify is not a function
at Object.<anonymous> (/var/www/nodebb/forum/src/file.js:14:10)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/var/www/nodebb/forum/app.js:37:12)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10) -
@teh_g I get another error now its: TypeError: Cannot read property 'R_OK' of undefined
at Object.<anonymous> (/home/bill/nodebb/src/cli/index.js:11:64)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/bill/nodebb/nodebb:5:1)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
maybe I followed the guide wrong, could somebody give me an guide step-by-step about installing NodeBB with DigitalOcean's VPS? -
@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).