超时将节点应用程序部署到heroku

时间:2014-02-10 18:46:01

标签: node.js heroku

在安装delayed-stream时,在编译heroku节点buildpack期间,我一直收到超时。大约1分钟后它会到达此部分,然后挂起,直到15分钟超时。还有其他人看到过这个问题吗?

npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
       npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm http 200 https://registry.npmjs.org/delayed-stream/0.0.5
       npm http GET https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
       npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz


 !     Timed out compiling Node.js app (15 minutes)
 !     See https://devcenter.heroku.com/articles/slug-compiler#time-limit

1 个答案:

答案 0 :(得分:2)

第三级依赖包括来自git的模块,没有https。

您可以运行npm ls以获取所有模块的完整依赖关系图。要使用http而不是https查找错误的代码,您可以使用npm ls | grep http://