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
Try install ws
:
sudo npm install -g ws
And try install node-inspector
:
su
npm install -g node-inspector
try this
sudo chown -R $USER /usr/local
npm install node-inspec
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.