Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Timeout deploying node app to heroku

Tags:

node.js

heroku

I keep getting a timeout during compilation of the heroku node buildpack when installing delayed-stream. It get's to this part after about 1 minute and then hangs until the 15 minute timeout. Has anyone else seen this problem?

npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
       npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.24"})
       npm WARN engine [email protected]: 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
like image 485
Ted Tomlinson Avatar asked Jun 27 '26 18:06

Ted Tomlinson


1 Answers

A third level dependency was including a module from git without https.

You can run npm ls to get the full dependency graph of all modules. To find bad deps using http instead of https you can use npm ls | grep http://.

like image 152
Ted Tomlinson Avatar answered Jun 30 '26 13:06

Ted Tomlinson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!