2014-02-10 3 views
1

delayed-stream을 설치할 때 heroku 노드 buildpack을 컴파일하는 동안 시간 초과가 계속 발생합니다. 약 1 분 후에이 부분에 도달 한 다음 15 분 제한 시간까지 중단됩니다. 이 문제를 본 사람이 있습니까?heroku에 노드 응용 프로그램을 배포하는 시간 초과

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 
+0

npm 캐시 정리를 시도한 다음 다시 실행하십시오. – dewd

답변

2

제 3 수준 종속성에는 https가없는 git 모듈이 포함됩니다.

npm ls을 실행하면 모든 모듈의 전체 종속성 그래프를 얻을 수 있습니다. https 대신 http를 사용하여 잘못된 deps를 찾으려면 npm ls | grep http://을 사용할 수 있습니다.

+0

지금 당장이 문제가 발생합니다. 불행히도, 나는 당신의 대답을 이해하지 못합니다. 문제를 어떻게 해결 했습니까? – dewd

+0

http (git에서)에 포함 된 중첩 된 종속성을 발견했습니다. 나는 나무에있는 모든 부모 종속성을 나쁜 종속성에 포크하고 포크에 의존하도록 변경해야했습니다. 예 : Repo는 myPackage -> grandparent -> parent -> bad http dep와 같이 보입니다. 포크 부모와 조부모를 만들었습니다. 부모 대신 parentFork를 가리 키도록 https 및 grandparentFork와 함께 dep를 포함하도록 parentFork를 업데이트했습니다. 그런 다음 grandparentFork를 가리 키도록 package.json을 업데이트했습니다. 이제 내 deps는 myPackage -> grandparentFork -> parentFork -> https dep –

+0

처럼 보입니다. 나쁜 종속성을 수정하려면 부모에게 전체 요청을 보내야합니다. 병합되어 게시자에게 게시되면 포크가 필요하지 않습니다. –

관련 문제