question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install node-inspector Failed

See original GitHub issue

when 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:closed
  • Created 7 years ago
  • Reactions:15
  • Comments:6

github_iconTop GitHub Comments

19reactions
Schaeffcommented, Jan 12, 2017

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/

3reactions
bhousercommented, Jan 23, 2017

I have the same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-inspector installation error (Solved) · Issue #1013 - GitHub
To fix this, 1) install the .NET Framew ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of...
Read more >
Cannot install Node Inspector - Stack Overflow
I ran npm install --global --production windows-build-tool already. Please see the middle of my post. The first error disappeared but then I ...
Read more >
node-inspector/node-inspector - Gitter
I ran npm install -g node-inspector and got an error, I think it might be because the build is failing? How can I...
Read more >
Node Inspector - TutorialsTeacher
Node inspector is GUI based debugger. Install Node Inspector using NPM in the global mode by writing the following command in the terminal...
Read more >
node-inspector - Bountysource
Any idea why the install might be failing? holbmac0125:~ dmitri.grabov$ npm install node-inspector -g > v8-profiler@5.6.3 preinstall ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found