Install node-inspector Failed
See original GitHub issuewhen I execute a command,there is a npm-debug.log file. Detail: node-version:7.3.0 content: Microsoft Windows [版本 10.0.10240] © 2015 Microsoft Corporation. All rights reserved.
C:\Users\wyl>npm install -g node-inspector
> v8-debug@0.7.7 preinstall C:\Users\wyl\AppData\Roaming\npm\node_modules.staging\v8-debug-9c08ecab > node -e ‘process.exit(0)’
> v8-profiler@5.6.5 preinstall C:\Users\wyl\AppData\Roaming\npm\node_modules.staging\v8-profiler-003ae091 > node -e ‘process.exit(0)’
C:\Users\wyl\AppData\Roaming\npm\node-inspector -> C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\bin\inspector.js C:\Users\wyl\AppData\Roaming\npm\node-debug -> C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\bin\node-debug.js
> v8-debug@0.7.7 install C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug > node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(undefined): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v51-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for v8-debug@0.7.7 and node@7.3.0 (node-v51 ABI) (falling back to source compile with node-gyp)
C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” clean ) else (node “” clean )
C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” configure --fallback-to-build --module=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node --module_name=debug --module_path=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64 ) else (node “” configure --fallback-to-build --module=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node --module_name=debug --module_path=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64 ) gyp ERR! configure error gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYTHON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11 gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:111:15) gyp ERR! System Windows_NT 10.0.10240 gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “configure” “–fallback-to-build” “–module=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node” “–module_name=debug” “–module_path=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64” gyp ERR! cwd C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug gyp ERR! node -v v7.3.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute ‘node-gyp.cmd configure --fallback-to-build --module=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node --module_name=debug --module_path=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64’ (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:106:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:885:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) node-pre-gyp ERR! System Windows_NT 10.0.10240 node-pre-gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\node-pre-gyp\bin\node-pre-gyp” “install” “–fallback-to-build” node-pre-gyp ERR! cwd C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug node-pre-gyp ERR! node -v v7.3.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok Failed to execute ‘node-gyp.cmd configure --fallback-to-build --module=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node --module_name=debug --module_path=C:\Users\wyl\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64’ (1) C:\Users\wyl\AppData\Roaming\npm `-- (empty)
npm ERR! Windows_NT 10.0.10240 npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” “node-inspector” npm ERR! node v7.3.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE
npm ERR! v8-debug@0.7.7 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
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! C:\Users\wyl\npm-debug.log npm ERR! code 1
Issue Analytics
- State:
- Created 7 years ago
- Reactions:15
- Comments:6
Looks like the some builds are missing on s3.
npm install -g node-inspector@0.7.4
worked for me on OSX, you could try getting one of these for the time being: https://node-inspector.s3.amazonaws.com/I have the same problem