node-inspector / node-inspector

Node.js debugger based on Blink Developer Tools
BSD 2-Clause "Simplified" License
12.66k stars 716 forks source link

Can not install in node 8.10.0 #1042

Closed mbarish-me closed 6 years ago

mbarish-me commented 6 years ago

I can not install in node 8.10.0

Failed to execute '/Users/ambu/.nvm/versions/node/v8.10.0/bin/node /Users/ambu/.nvm/versions/node/v8.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/ambu/.nvm/versions/node/v8.10.0/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v57-darwin-x64/debug.node --module_name=debug --module_path=/Users/ambu/.nvm/versions/node/v8.10.0/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v57-darwin-x64' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! v8-debug@1.0.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the v8-debug@1.0.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
hustxiaoc commented 6 years ago

Since version 6.3, Node.js provides a built-in DevTools-based debugger which mostly deprecates Node Inspector, see e.g. this blog post to get started. The built-in debugger is developed directly by the V8/Chromium team and provides certain advanced features (e.g. long/async stack traces) that are too difficult to implement in Node Inspector.