为node.js服务器安装Forever时出错

时间:2012-08-07 10:12:58

标签: node.js webserver install npm forever

我正在尝试为我的node.js服务器安装Forever,但在npm install -g forever时遇到关注错误,我有node v0.8.5npm v1.1.46

npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream

npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream

npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm ERR! Error: connect ETIMEDOUT
npm ERR!     at errnoException (net.js:782:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:773:19)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Fil
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "forever"
npm ERR! cwd C:\Users\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo
npm ERR! node -v v0.8.5
npm ERR! npm -v 1.1.46
npm ERR! syscall connect
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo\npm-debug.log
npm ERR! not ok code 0

可能是什么问题。

先谢谢

1 个答案:

答案 0 :(得分:0)

这意味着Github没有及时响应npm指定的http请求。