Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install failure #4

Open
chrwei opened this issue Nov 22, 2021 · 0 comments
Open

install failure #4

chrwei opened this issue Nov 22, 2021 · 0 comments

Comments

@chrwei
Copy link

chrwei commented Nov 22, 2021

I'm not even sure what to look into with this error. ubuntu 20.04, node v15.14.0.

`sudo npm install -g ssb-minimal-pub-server
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm WARN deprecated [email protected]: This package is no longer maintained
npm ERR! code 1
npm ERR! path /usr/lib/node_modules/ssb-minimal-pub-server/node_modules/ssb-validate2-rsjs-node
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! node:internal/errors:415
npm ERR! ErrorCaptureStackTrace(err);
npm ERR! ^
npm ERR!
npm ERR! Error: spawn nj-cli ENOENT
npm ERR! at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
npm ERR! at onErrorNT (node:internal/child_process:480:16)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:81:21) {
npm ERR! errno: -2,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'spawn nj-cli',
npm ERR! path: 'nj-cli',
npm ERR! spawnargs: [ 'build', '--release' ]
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-11-22T01_21_49_260Z-debug.log
`
the logs ends with this, no other errors before.

3361 info run [email protected] install node_modules/ssb-minimal-pub-server/node_modules/ssb-validate2-rsjs-node node install.js 3362 info run [email protected] install { code: 0, signal: null } 3363 timing build:run:install:node_modules/ssb-minimal-pub-server/node_modules/sodium-native Completed in 198ms 3364 info run [email protected] install { code: 1, signal: null } 3365 timing reify:rollback:createSparse Completed in 1346ms 3366 timing reify:rollback:retireShallow Completed in 0ms 3367 timing command:install Completed in 34589ms 3368 verbose stack Error: command failed 3368 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27) 3368 verbose stack at ChildProcess.emit (node:events:369:20) 3368 verbose stack at maybeClose (node:internal/child_process:1067:16) 3368 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) 3369 verbose pkgid [email protected] 3370 verbose cwd /home/chrisw 3371 verbose Linux 5.4.0-90-generic 3372 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "ssb-minimal-pub-server" 3373 verbose node v15.14.0 3374 verbose npm v7.7.6 3375 error code 1 3376 error path /usr/lib/node_modules/ssb-minimal-pub-server/node_modules/ssb-validate2-rsjs-node 3377 error command failed 3378 error command sh -c node install.js 3379 error node:internal/errors:415 3379 error ErrorCaptureStackTrace(err); 3379 error ^ 3379 error 3379 error Error: spawn nj-cli ENOENT 3379 error at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19) 3379 error at onErrorNT (node:internal/child_process:480:16) 3379 error at processTicksAndRejections (node:internal/process/task_queues:81:21) { 3379 error errno: -2, 3379 error code: 'ENOENT', 3379 error syscall: 'spawn nj-cli', 3379 error path: 'nj-cli', 3379 error spawnargs: [ 'build', '--release' ] 3379 error } 3380 verbose exit 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant