Installation failed on Debian (3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64 GNU/Linux)
See original GitHub issueroot@appserver:~# npm install -g node-inspector npm WARN lifecycle v8-debug@0.7.7~preinstall: cannot run in wd %s %s (wd=%s) v8-debug@0.7.7 node -e ‘process.exit(0)’ /root/.nvm/versions/node/v7.1.0/lib/node_modules/.staging/v8-debug-2eb2bec8 npm WARN lifecycle v8-profiler@5.6.5~preinstall: cannot run in wd %s %s (wd=%s) v8-profiler@5.6.5 node -e ‘process.exit(0)’ /root/.nvm/versions/node/v7.1.0/lib/node_modules/.staging/v8-profiler-ca0424c0 /root/.nvm/versions/node/v7.1.0/bin/node-inspector -> /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/bin/inspector.js /root/.nvm/versions/node/v7.1.0/bin/node-debug -> /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/bin/node-debug.js
v8-debug@0.7.7 install /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/node_modules/v8-debug node-pre-gyp install --fallback-to-build
sh: 1: node-pre-gyp: Permission denied /root/.nvm/versions/node/v7.1.0/lib └── (empty)
npm ERR! Linux 3.2.0-4-amd64 npm ERR! argv “/root/.nvm/versions/node/v7.1.0/bin/node” “/root/.nvm/versions/node/v7.1.0/bin/npm” “install” “-g” “node-inspector” npm ERR! node v7.1.0 npm ERR! npm v3.10.9 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn
npm ERR! v8-debug@0.7.7 install: node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the v8-debug@0.7.7 install script ‘node-pre-gyp install --fallback-to-build’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs v8-debug
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls v8-debug
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /root/meanjs/npm-debug.log npm ERR! code 1
Any idea please ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:6
Same issue with macOS Sierra v10.12.1, node v7.2.0, npm v4.0.2 or yarn v0.17.9 i.e. This fails - node-pre-gyp install --fallback-to-build
Using npm install -g node-inspector or yarn global add node-inspector
Same problem.
Also using
npm -g node-inspector
.