Thank you very much guys I managed to get it sorted, not really sure how haha
H
Huskymakes
@Huskymakes
Posts
-
Issue installing NodeBB on Centos 7 -
Issue installing NodeBB on Centos 7When I run the command: ./nodebb setup
I get this error:
/root/nodebb/src/cli/package-install.js:70
const extraneous = !packageContents.dependencies.hasOwnProperty(pkgName);
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/root/nodebb/src/cli/index.js:6:22)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)Any help would be appreciated.