node.js - npm install socket.io hangs on node-gyp step -
i wanted install socket.io
via npm
use in node.js
application. entered npm install socket.io -g
terminal , let run.
> ws@0.5.0 install /usr/local/lib/node_modules/socket.io/node_modules/engine.io/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0)
after last log message regular progress spinner appears stops spinning after seconds , starts hang (indefinitely).
can't imagine why happens. no error message, no unusual resource usage in system monitor
, no whatever.
of know or reason?
i'm using ubuntu 14.10
node v0.12.2
, npm v2.7.4
. further have python 2.7.8
, node-gyp 1.0.3
installed.
i had same problem on ubuntu 12.04. turns out didnt have node-gyp installed on system. installed using sudo npm install -g node-gyp , able install socket.io succesfully. :)
Comments
Post a Comment