-
카테고리
-
세부 분야
프론트엔드
-
해결 여부
미해결
안녕하세요 . 배포에 관하여 문의 드립니다.
22.01.08 11:49 작성 조회수 150
1
Nuxt 강의를 완강하고 , 헤로쿠 배포에 관하여 알게 되었습니다.
그래서 이번에도 VueTilServer를 배포해서 사용하고 싶어서 도전 했습니다.
Deploy는 성공이라고 뜨지만 앱을 실행하면 Application Error가 뜹니다.
로그에는 이렇게 출력이 되어서 나옵니다. 배포시 명령어를 변경해야 하는건지 ,
어떤점이 문제인지 알 수없어서 문의 드립니다.
2022-01-08T02:43:53.933246+00:00 app[web.1]: npm ERR!
2022-01-08T02:43:53.933334+00:00 app[web.1]: npm ERR! Failed at the server@1.0.0 start script.
2022-01-08T02:43:53.933421+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2022-01-08T02:43:53.938380+00:00 app[web.1]:
2022-01-08T02:43:53.938539+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2022-01-08T02:43:53.938614+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2022-01-08T02_43_53_934Z-debug.log
2022-01-08T02:43:54.108586+00:00 heroku[web.1]: Process exited with status 1
2022-01-08T02:43:54.200674+00:00 heroku[web.1]: State changed from starting to crashed
2022-01-08T02:44:00.788369+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=serene-escarpment-31330.herokuapp.com request_id=1fdfd570-063f-4de2-ba06-8e3364f56c09 fwd="58.122.252.219" dyno= connect= service= status=503 bytes= protocol=https
2022-01-08T02:44:01.849314+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=serene-escarpment-31330.herokuapp.com request_id=8cbcf38b-47ba-4260-88b0-f96c94888421 fwd="58.122.252.219" dyno= connect= service= status=503 bytes= protocol=https
답변을 작성해보세요.
0
장기효(캡틴판교)
지식공유자2022.01.11
안녕하세요 문섭님, 로그를 보면 서버를 실행하는 script가 실패했다고 나오네요. 전체 배포 설정과 프로젝트 구조를 알 수가 없어서 자세한 답변이 어려울 것 같습니다. 요건 script가 왜 실패하는지부터 문제를 분석해 나가시면 될 것 같아요 :)
답변 1