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

标签 node.js webserver installation 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

可能是什么问题。

提前致谢

最佳答案

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

关于node.js - 为 node.js 服务器安装 Forever 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11843711/

相关文章:

php - 如何执行扩展名为.html的php文件?

android - 如何发送音频文件以存储在服务器中

msbuild - 如何从 assemblyInfo.cs 读取程序集版本?

php - 在 PHP 脚本中设置超时和文件大小值的位置

wix - 使用 WiX/Burn 安装后启动应用程序

c# - 使用 Node JS - REST API 在 Office365 上召开 session 室 session

javascript - 如何检查用户是否已经关注 NodeJs 中的其他用户 - Mongoose

java - 创建一个从 java 程序检索数据并显示它的网页

javascript - KOA 中的 POST 请求未定义请求正文

node.js - Azure DevOps Pipeline 中的 Docker 镜像中的单元测试