What OS? nodejs version?
./nodebb commands not working for me out of the .8.x branch
I am attempting a new install, but this happened to me before as well. I am trying to run the ./nodebb setup command, but nothing happens. I am on Ubuntu 14.04.
When I enter the command and hit enter it just brings up the next line waiting for a command in terminal.
Henry Wright last edited by
@HolyPhoenix how did you upgrade to the v0.8.x branch?
Not upgrading, it's a new install. I had the same problem last time, so I thought I'd try a re-install to get around it. I had been using the npm commands instead of the nodebb last time in order to get it running.
I realized I forgot npm install --production command this time around though.
I am getting this error. This did not happen with .8.0, but is happening with .8.1.
throw new Error( ^ Error: node-gyp requires that the user's home directory is specified in either of the environmental variables HOME or USERPROFILE at new Gyp (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:54:11) at gyp (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:43:10) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:20:12) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:935:3
I am logged in as root. Any ideas how to correct this?
And looking over the instruction ./nodebb setup is an alternative to the npm install command. Could the error I am seeing above be the cause of the ./nodebb commands not working?
Adding more to my error above.
npm ERR! [email protected] install:
npm ERR! Exit status 8 npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the heapdump package,
npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild npm ERR! You can get their info via:
npm ERR! npm owner ls heapdump npm ERR!
There is likely additional logging output above.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--production"
npm ERR! cwd /srv/cninja/nodebb
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Last update, this issue is closed.
It seems that there is an issue when I was trying to use the terminal built into the ajenti panel. I was using ajenti to try and make my life easier when I am not at home, but that turned out to be a bad idea. Anyway, everything works just fine when I ssh into my server using bitvise.