怀疑网络的问题, 因为有一次出问题有 Conecction time out.. 之类的提示,
而且之前有一次检查问题甚至冲撞, 无缘无故回复正常的, 就是比较慢,
好吧今天又出问题了, 我在另一个帖子看到用国内镜像的, 运行命令之后无用..
还有的错误.
$ sudo npm install -g gui
npm ERR! Error: Not found: gui@''
npm ERR! Valid install targets:
npm ERR! ["latest"]
npm ERR! at installTargetsError (/usr/lib/node_modules/npm/lib/cache.js:410:10)
npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:403:17
npm ERR! at saved (/usr/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7)
npm ERR! at cb (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Report this *entire* log at:
npm ERR! <
http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <
[email protected]>
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "gui"
npm ERR! cwd /home/c
npm ERR! node -v v0.4.9
npm ERR! npm -v 1.0.99
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/c/npm-debug.log
npm not ok