2017-09-03 9 views
0

로컬로 잘 실행되는 Node.js 응용 프로그램이 있는데,이를 Heroku에 배포하면 실행되지 않습니다.Heroku에 배포 할 때 Node.js 응용 프로그램이 작동하지 않습니다.

Github 저장소에서 배포했습니다.

내 repo에서 앱을 배포하고 문제의 원인을 말해 줄 수 있습니까?

Git repository link-MyGallary

로그 : 사전에

2017-09-03T12:22:17.683830+00:00 heroku[web.1]: State changed from crashed to starting 
2017-09-03T12:22:18.878329+00:00 heroku[web.1]: Starting process with command `: node run start` 
2017-09-03T12:22:20.670131+00:00 heroku[web.1]: Process exited with status 0 
2017-09-03T12:22:20.682348+00:00 heroku[web.1]: State changed from starting to crashed 
2017-09-03T12:24:19.679927+00:00 heroku[web.1]: State changed from crashed to starting 
2017-09-03T12:24:20.918678+00:00 heroku[web.1]: Starting process with command `: node run start` 
2017-09-03T12:24:23.583966+00:00 heroku[web.1]: Process exited with status 0 
2017-09-03T12:24:23.595826+00:00 heroku[web.1]: State changed from starting to crashed 
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect... 
2017-09-03T12:24:19.679927+00:00 heroku[web.1]: State changed from crashed to starting 
2017-09-03T12:24:20.918678+00:00 heroku[web.1]: Starting process with command `: node run start` 
2017-09-03T12:24:23.583966+00:00 heroku[web.1]: Process exited with status 0 
2017-09-03T12:24:23.595826+00:00 heroku[web.1]: State changed from starting to crashed 
2017-09-03T12:33:34.507063+00:00 heroku[web.1]: Process exited with status 0 
2017-09-03T12:39:41.420058+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mygallary.herokuapp.com request_id=10a1d1e0-5b5f-45f7-b65c-efdb8d6e9b3f fwd="106.51.243.120" dyno= connect= service= status=503 bytes= protocol=https 
2017-09-03T12:39:42.764416+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mygallary.herokuapp.com request_id=5ff09ee3-26d7-44a6-8556-f4e5d19a0ce5 fwd="106.51.243.120" dyno= connect= service= status=503 bytes= protocol=https 

감사합니다.

답변

0

터미널에 "heroku logs"를 입력하고 여기에서 로그를 공유하십시오.

편집 : 는 봐 주시기 바랍니다 ..

+0

공유 (은 .js없이 단지 응용 프로그램을 입력 할 수 있습니다) "노드는 app.js" 이 예는 "NPM 실행 시작"또는 "노드 startfile.js"입니다 –

관련 문제