npm http GET https://registry.npmjs.org/pomelo npm http 304 https://registry.npmjs.org/pomelo npm http GET https://registry.npmjs.org/socket.io/0.9.16 npm http GET https://registry.npmjs.org/async/0.2.5 npm http GET https://registry.npmjs.org/seq-queue/0.0.5 npm http GET https://registry.npmjs.org/crc/0.2.0 npm http GET https://registry.npmjs.org/cliff/0.1.8 npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/pomelo-loader/0.0.6 npm http GET https://registry.npmjs.org/pomelo-rpc/0.3.2 npm http GET https://registry.npmjs.org/pomelo-protocol/0.1.3 npm http GET https://registry.npmjs.org/pomelo-admin/0.3.3 npm http GET https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http GET https://registry.npmjs.org/pomelo-logger/0.1.2 npm http GET https://registry.npmjs.org/pomelo-scheduler/0.3.8 npm http GET https://registry.npmjs.org/ws/0.4.25 npm http GET https://registry.npmjs.org/toobusy/0.2.4 npm http GET https://registry.npmjs.org/pomelo-protobuf/0.4.0 npm http GET https://registry.npmjs.org/node-bignumber/1.2.1 npm http GET https://registry.npmjs.org/commander/2.0.0 npm http 304 https://registry.npmjs.org/socket.io/0.9.16 npm http 304 https://registry.npmjs.org/seq-queue/0.0.5 npm http 304 https://registry.npmjs.org/async/0.2.5 npm http 304 https://registry.npmjs.org/crc/0.2.0 npm http 304 https://registry.npmjs.org/cliff/0.1.8 npm http 304 https://registry.npmjs.org/mkdirp/0.3.3 npm http 304 https://registry.npmjs.org/pomelo-rpc/0.3.2 npm http 304 https://registry.npmjs.org/pomelo-protocol/0.1.3 npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.6 npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http 304 https://registry.npmjs.org/pomelo-logger/0.1.2 npm http 304 https://registry.npmjs.org/ws/0.4.25 npm http 304 https://registry.npmjs.org/pomelo-scheduler/0.3.8 npm http 304 https://registry.npmjs.org/pomelo-protobuf/0.4.0 npm http 304 https://registry.npmjs.org/toobusy/0.2.4 npm http 304 https://registry.npmjs.org/pomelo-admin/0.3.3 npm http 304 https://registry.npmjs.org/node-bignumber/1.2.1 npm http 304 https://registry.npmjs.org/commander/2.0.0 npm http GET https://registry.npmjs.org/log4js/0.6.7 npm http GET https://registry.npmjs.org/log4js npm http GET https://registry.npmjs.org/bindings/1.1.0 npm http GET https://registry.npmjs.org/socket.io-client/0.9.16 npm http GET https://registry.npmjs.org/ndump npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/base64id/0.1.0 npm http GET https://registry.npmjs.org/redis/0.7.3 npm http GET https://registry.npmjs.org/stream-pkg/0.0.5 npm http GET https://registry.npmjs.org/node-uuid/1.4.0 npm http GET https://registry.npmjs.org/toobusy/0.2.2 npm http GET https://registry.npmjs.org/pomelo-loader/0.0.5 npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/eyes npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/options npm http 304 https://registry.npmjs.org/log4js/0.6.7 npm http 304 https://registry.npmjs.org/log4js npm http 304 https://registry.npmjs.org/bindings/1.1.0
toobusy@0.2.4 install /usr/local/lib/node_modules/pomelo/node_modules/toobusy node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
sudo npm install pomelo -g --unsafe-perm
安装到这里就停止了 然后不会动。
sudo npm install pomelo -g 的话
出现的是下面的错误npm http GET https://registry.npmjs.org/pomelo npm http 304 https://registry.npmjs.org/pomelo npm http GET https://registry.npmjs.org/seq-queue/0.0.5 npm http GET https://registry.npmjs.org/socket.io/0.9.16 npm http GET https://registry.npmjs.org/async/0.2.5 npm http GET https://registry.npmjs.org/crc/0.2.0 npm http GET https://registry.npmjs.org/cliff/0.1.8 npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/pomelo-loader/0.0.6 npm http GET https://registry.npmjs.org/pomelo-rpc/0.3.2 npm http GET https://registry.npmjs.org/pomelo-protocol/0.1.3 npm http GET https://registry.npmjs.org/pomelo-admin/0.3.3 npm http GET https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http GET https://registry.npmjs.org/pomelo-logger/0.1.2 npm http GET https://registry.npmjs.org/pomelo-scheduler/0.3.8 npm http GET https://registry.npmjs.org/ws/0.4.25 npm http GET https://registry.npmjs.org/toobusy/0.2.4 npm http GET https://registry.npmjs.org/pomelo-protobuf/0.4.0 npm http GET https://registry.npmjs.org/node-bignumber/1.2.1 npm http GET https://registry.npmjs.org/commander/2.0.0 npm http 304 https://registry.npmjs.org/crc/0.2.0 npm http 304 https://registry.npmjs.org/mkdirp/0.3.3 npm http 304 https://registry.npmjs.org/seq-queue/0.0.5 npm http 304 https://registry.npmjs.org/async/0.2.5 npm http 304 https://registry.npmjs.org/pomelo-protocol/0.1.3 npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.6 npm http 304 https://registry.npmjs.org/pomelo-admin/0.3.3 npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http 304 https://registry.npmjs.org/pomelo-logger/0.1.2 npm http 304 https://registry.npmjs.org/pomelo-scheduler/0.3.8 npm http 304 https://registry.npmjs.org/ws/0.4.25 npm http 304 https://registry.npmjs.org/toobusy/0.2.4 npm http 304 https://registry.npmjs.org/pomelo-rpc/0.3.2 npm http 304 https://registry.npmjs.org/pomelo-protobuf/0.4.0 npm http 304 https://registry.npmjs.org/commander/2.0.0 npm http 304 https://registry.npmjs.org/node-bignumber/1.2.1 npm http 304 https://registry.npmjs.org/socket.io/0.9.16 npm http 304 https://registry.npmjs.org/cliff/0.1.8 npm http GET https://registry.npmjs.org/log4js/0.6.7 npm http GET https://registry.npmjs.org/log4js npm http GET https://registry.npmjs.org/bindings/1.1.0 npm http GET https://registry.npmjs.org/socket.io-client/0.9.16 npm http GET https://registry.npmjs.org/ndump npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/base64id/0.1.0 npm http GET https://registry.npmjs.org/redis/0.7.3 npm http GET https://registry.npmjs.org/pomelo-loader/0.0.5 npm http GET https://registry.npmjs.org/stream-pkg/0.0.5 npm http GET https://registry.npmjs.org/toobusy/0.2.2 npm http GET https://registry.npmjs.org/node-uuid/1.4.0 npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/eyes npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/options npm http 304 https://registry.npmjs.org/log4js/0.6.7 npm http 304 https://registry.npmjs.org/log4js npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/readable-stream npm http GET https://registry.npmjs.org/async/0.1.15 npm http GET https://registry.npmjs.org/dequeue/1.0.3 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http 304 https://registry.npmjs.org/base64id/0.1.0 npm http 304 https://registry.npmjs.org/bindings/1.1.0
toobusy@0.2.4 install /usr/local/lib/node_modules/pomelo/node_modules/toobusy node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: EPERM, utime '/home/cgl/.node-gyp/0.10.22’
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pomelo/node_modules/toobusy
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! This is a bug in node-gyp
.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/TooTallNate/node-gyp/issues
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/ndump
npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.5
npm http 304 https://registry.npmjs.org/stream-pkg/0.0.5
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/toobusy/0.2.2
npm http 304 https://registry.npmjs.org/node-uuid/1.4.0
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/pkginfo
ws@0.4.25 install /usr/local/lib/node_modules/pomelo/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/semver
npm ERR! toobusy@0.2.4 install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the toobusy@0.2.4 install script.
npm ERR! This is most likely a problem with the toobusy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls toobusy
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command “/usr/local/bin/node” “/usr/local/bin/npm” “install” “pomelo” "-g"
npm ERR! cwd /home/cgl
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/dequeue/1.0.3
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/isarray/0.0.1
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.16
npm http GET https://registry.npmjs.org/bindings/1.0.0
ndump@0.0.2 install /usr/local/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/ndump node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: EPERM, utime '/home/cgl/.node-gyp/0.10.22’
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/ndump
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! This is a bug in node-gyp
.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/TooTallNate/node-gyp/issues
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/bindings/1.0.0
toobusy@0.2.2 install /usr/local/lib/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/toobusy node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: EPERM, utime '/home/cgl/.node-gyp/0.10.22’
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/toobusy
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! This is a bug in node-gyp
.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/TooTallNate/node-gyp/issues
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/cgl/npm-debug.log
npm ERR! not ok code 0
This is a bug in node-gyp …
Try to update node-gyp and file an Issue if it does not help:
已经解决了 3q!
看起来好像 node 跟 node-gyp 的版本不一样诶。
我开始也不知道怎么回事 我把node 改成10.2.2版本 后来就好了