Moriarty Moriarty - 4 months ago 13
Node.js Question

Node Inspector Installation fails on Ubuntu

I was trying to install Node Inspector in Ubuntu using:

sudo npm install -g node-inspector


The attempted installation ends with :


ws@0.4.31 install /usr/local/lib/node_modules/node-inspector/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)


And a prompt.

Node version : 0.11.9, npm version: 1.3.17

Answer

Try install ws:

sudo npm install -g ws

And try install node-inspector:

su
npm install -g node-inspector
Comments