Reputation: 3060
When I'm running npm i
with Node v6, the installation passes with no errors, and when i'm looking for node-inspector, I receive:
~/Development/<project-name>(master*) » npm ls node-inspector chenn@chenn-mac
[email protected] /Users/chenn/Development/<project-name>
└── (empty)
So node-inspector is not a part of the dep tree.
However, when I switch the Node LTS 8.9.0 and running the installation command (after removing /node_modules directory) I receive the following:
node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI) (falling back to source compile with node-gyp)
Any suggestions?
Upvotes: 2
Views: 393
Reputation: 21
I think Node.js changed the debug tools, from 6.3 onward you can use --inspect instead of --debug and debugger is directly accessible on chrome with about:inspect.
On this blog you can find more information. https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27
Upvotes: 2