【问题标题】:Gcloud app deploy npm install package fetch failedGcloud app deploy npm install package fetch 失败
【发布时间】:2016-07-06 13:24:44
【问题描述】:

我正在使用带有解析服务器的 Google App Engine。

在本地,npm install 和 npm start 工作正常,但是当我尝试在应用引擎上部署时,我收到此错误:

npm ERR! fetch failed https://registry.npmjs.org/intersect/-/intersect-1.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502
npm ERR! Linux 3.19.0-61-generic
npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "install" "--unsafe-perm"
npm ERR! node v4.3.2
npm ERR! npm  v2.14.12
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read 

当我尝试访问 https://registry.npmjs.org/intersect/-/intersect-1.0.1.tgz 时,它会在我的计算机上正常下载包。

我可以从我这边解决这个问题还是完全在谷歌这边?

【问题讨论】:

    标签: google-app-engine gcloud


    【解决方案1】:

    查看 https://github.com/npm/npm/issues/13284 ,这似乎是 npm 意识到的一个问题,并且正在修复中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-12-29
      • 1970-01-01
      • 2019-12-27
      • 1970-01-01
      • 2019-03-22
      • 2016-01-22
      • 2015-08-26
      • 2017-04-09
      相关资源
      最近更新 更多