-
Notifications
You must be signed in to change notification settings - Fork 21
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
failure to install v8-debug #26
Comments
i have the same issue. Any ideas to fix? |
Hm. I see that you use ia32 linux architecture. Unfortunately we don't have prebuilt binaries for ia32 on linux. In this situation node-gyp tries to compile binary for you. |
Getting this on Mac OSX 10.8 |
Having install issue on Mac OSX 10.9.5 node -v |
Install issues on OSX 10.11.4 npm ERR! [email protected] preinstall: node -v |
Same on Ubuntu 16.04 using node v6.1.0 installed via nvm if it isn't obvious from the below (it is).
|
Install issues on OSX 10.11.3
|
Getting the same issue since 0.7.7. Error occurs installing node-inspector which uses
Environment is centos:6.6 (docker image):
|
Getting it too on: npm ERR! node v4.4.4
|
Got the same issue, here's the output.
|
did anyone find any solution to this? |
Possible related to #31 I've created a repo to make it easier for the maintainers to reproduce the issue I'm seeing: https://github.com/sqren/v8-debug-debug Update (September, 2016)
|
Same problem on Fedora 24. |
see russfrisch solution at #7 |
Reproducible on Windows 7 Enterprise |
Same problem on MAC OS 10.11.4 |
Same problem on MAC OS 10.11.6 Went back to node v.6.9.1 and then it worked! |
Same on macOS 10.12.1. |
npm ERR! node v7.3.0 npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: |
Any solution yet ? |
Looks like node-inspector doesnt work with latest node versions, per node-inspector/node-inspector#907 However you might not need it, similar functionality is now built into node. Just use node --inspect yourApp.js and follow similar workflow. |
Works with Node v6.9.4. If you've never installed another version of Node alongside your existing one, I recommend using nvm. Here's a good quick intro. UPDATE: I had to use v6.3.1 for it to work correctly. (macOS Sierra) |
@matthewepler Thank you very much, 6.3.1 works like a charm. Was using 7.4.0. |
@matthewepler Thanks, I was able to use node
See here #7. |
Delete "grunt-node-inspector" from package.json Heroku does not like grunt-node-inspector with node v7.1.0 |
try |
I have same issue with node -v 9.6 I solve my problem by install nvm-windows to use node 5.6.0, node after 6.3 will conflict with grunt-node-inspector, because node after 6.3 will have its own debugger. So you have to use node <6, v5.6.0 is good enough nvm-windows let you run multiple node version at same time, I use it to go back v5.6.0 |
I solved it by using node 6.11 |
Guys is there a workaround to not downgrade to node <= 10? |
I just updated node inspector to the last version to dix my issue. You can do this or downgrade node to v.6 |
First of all,i install node-inspector by command "npm install -g node-inpsector --unsafe-perm" on Ubuntu 14.04LTS 32bit,and then it is successful.
Then i access http://127.0.0.1:8080/?port=5858,show "Can not find module $NPM_HOME/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32/debug.node"on the console.
Below is error info on the period of installation
@3y3 can you help me? thanks so much.
npm install -g v8-debug
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/node-v5.6.0-linux-x86/bin/node" "/usr/node-v5.6.0-linux-x86/bin/npm" "install" "v8-debug"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! Cannot read property 'target' of null
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /usr/npm-global/lib/node_modules/node-inspector/npm-debug.log
root@ubuntu:/usr/npm-global/lib/node_modules/node-inspector# npm install v8-debug -g
npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node -e 'process.exit(0)' /usr/npm-global/lib/node_modules/.staging/v8-debug-858816f5
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.6.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/npm-global/lib/node_modules/v8-debug/.node-gyp"
make: Entering directory
/usr/npm-global/lib/node_modules/v8-debug/build' make: *** No rule to make target
../.node-gyp/5.6.0/include/node/common.gypi', needed byMakefile'. Stop. make: Leaving directory
/usr/npm-global/lib/node_modules/v8-debug/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/node-v5.6.0-linux-x86/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.19.0-25-generic
gyp ERR! command "/usr/node-v5.6.0-linux-x86/bin/node" "/usr/node-v5.6.0-linux-x86/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32/debug.node" "--module_name=debug" "--module_path=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32"
gyp ERR! cwd /usr/npm-global/lib/node_modules/v8-debug
gyp ERR! node -v v5.6.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/node-v5.6.0-linux-x86/bin/node /usr/node-v5.6.0-linux-x86/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32/debug.node --module_name=debug --module_path=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32' (1)
node-pre-gyp ERR! stack at ChildProcess. (/usr/npm-global/lib/node_modules/v8-debug/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:100:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:185:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:827:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 3.19.0-25-generic
node-pre-gyp ERR! command "/usr/node-v5.6.0-linux-x86/bin/node" "/usr/npm-global/lib/node_modules/v8-debug/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/npm-global/lib/node_modules/v8-debug
node-pre-gyp ERR! node -v v5.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.27
node-pre-gyp ERR! not ok
Failed to execute '/usr/node-v5.6.0-linux-x86/bin/node /usr/node-v5.6.0-linux-x86/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32/debug.node --module_name=debug --module_path=/usr/npm-global/lib/node_modules/v8-debug/build/debug/v0.7.3/node-v47-linux-ia32' (1)
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/node-v5.6.0-linux-x86/bin/node" "/usr/node-v5.6.0-linux-x86/bin/npm" "install" "v8-debug" "-g"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /usr/npm-global/lib/node_modules/node-inspector/npm-debug.log
root@ubuntu:/usr/npm-global/lib/node_modules/node-inspector# node-inspector
Node Inspector v0.12.8
Visit http://127.0.0.1:8080/?port=5858 to start debugging.
The text was updated successfully, but these errors were encountered: