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?