Related, I think, getting this from any version of NodeJS...
OK
Dependencies outdated or not yet installed.
Installing them now...
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
> [email protected] install /opt/nodebb2/node_modules/benchpressjs
> cd rust/benchpress-rs && npm install
npm WARN invalid config loglevel="notice"
npm ERR! Linux 3.10.0-862.14.4.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "install"
npm ERR! node v6.14.3
npm ERR! npm v3.10.10
npm ERR! path /root/.npm/neon-cli/0.2.0/package
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/neon-cli/0.2.0/package'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, mkdir '/root/.npm/neon-cli/0.2.0/package'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/root/.npm/neon-cli/0.2.0/package',
npm ERR! parent: 'benchpress-rs' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/nodebb2/node_modules/benchpressjs/rust/benchpress-rs/npm-debug.log
npm WARN [email protected] requires a peer of [email protected]^4.9.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! [email protected] install: `cd rust/benchpress-rs && npm install`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-26T20_52_31_930Z-debug.log
Error installing dependencies!
message: Command failed: npm install --production
stdout: null
stderr: null
/opt/nodebb2/src/cli/package-install.js:54
throw e;
^
Error: Command failed: npm install --production
at checkExecSyncError (child_process.js:621:11)
at Object.execSync (child_process.js:658:13)
at Object.installAll (/opt/nodebb2/src/cli/package-install.js:45:9)
at Object.<anonymous> (/opt/nodebb2/src/cli/index.js:58:18)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:658:17)