inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

MERN STACK 커뮤니티 : 시작부터 배포까지 알려주는 React

Heroku : 배포하기

배포 오류입니다. ㅠㅠ

671

박재현

작성한 질문수 3

1

2022-02-04T00:42:30.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/06ead801-976c-4dbe-83e9-7f1958c8411d/activity/builds/6faf4b75-0168-443d-85b9-4ff4912c6021

2022-02-04T00:55:07.484329+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bong9-commu.herokuapp.com request_id=52fee8bb-8940-477d-9678-49589a052c0c fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=https

2022-02-04T00:55:08.224867+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bong9-commu.herokuapp.com request_id=a8bac21c-590f-4fec-89d9-2b0d7a2d0c24 fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=https        

2022-02-04T00:55:08.743629+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bong9-commu.herokuapp.com request_id=2e254454-df6c-4f83-89b7-f9aedfd45996 fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=http

2022-02-04T00:55:16.461850+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bong9-commu.herokuapp.com request_id=e407879d-f4a1-4cbb-b11d-c4970b8b8141 fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=http

2022-02-04T00:57:56.593514+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bong9-commu.herokuapp.com request_id=193a4ff2-6464-4785-8f4b-79a19ab60218 fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=https

2022-02-04T00:57:57.272888+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bong9-commu.herokuapp.com request_id=ae0fc620-aecb-414e-a285-bdf927bbe62b fwd="112.148.180.249" dyno= connect= service= status=503 bytes= protocol=https  

 

빌드, 라우터 , 앱 충돌 뭐 이런 내용들 같은데 도움 부탁드리겠습니다.

nodejs express react firebase mongodb

답변 2

1

박재현

해결했습니다. procfile 띄어쓰기 문제였던것 같습니다.

0

판다코딩

헤로쿠에서 H10 에러코드는 앱이 다운되거나, 부팅 시간이 과도하게 길어질 때 발생합니다.

프로젝트를 빌드하거나 실행할 때, 에러가 없다면

아래의 사항들을 하나씩 확인해주시길 바랍니다.

  1. package.json 파일의 engines의 node와 npm 버전
  2. package.json 파일의 start와 build 명령어
    (혹시 start 명령어에 nodemon을 사용하셨다면, node로 바꿔주시길 바랍니다.)
  3. Procfile, root dir에 있어야 합니다.
  4. 환경변수 (port, mongoURL 등) 세팅
    API 키들은 헤로쿠 앱에도 정상적으로 등록되어 있는지 확인하시길 바랍니다.
  5. heroku에 push할 때 서버폴더를 루트디렉토리로 푸쉬하였는지

위 다섯개의 항목을 확인해보시고 다시 한번 push 해보세요 :)

Heroku 데이터로드 문제.

0

192

2

몽고DB

0

179

1

No routes matched location Error Component Stack error 질문입니다.

0

596

1

axios 문제 404에러

0

2125

1

도와주세요

0

467

3

네이버 클라우드를 사용하지 않는 사람은 외부저장소~env 까지 따라하지 않아도 되죠?

0

239

0

두번씩 실행되는 문제..

0

468

1

스타일 깃허브에서 코드 가져가라고 하셨는데요

0

477

2

read(2) 강의 내용에 질문이 있습니다.

0

268

1

깃허브

0

350

1

마지막에 "" 로 채워주는 이유가 있을까요?

0

289

1

React-router-dom을 설치하고 react app이 크롬에서 실행되지 않습니다.

0

383

1

Detail.js CSS 관련 강의가 없어진거 같은데요 ?

0

284

1

504 에러

0

862

1

콘솔에 DOM이라는 로그가 뜨는데

0

292

1

useEffect 두번 사용하는 것

0

931

1

작동은 잘되는데 오류가 뜹니다

0

443

1

react-router-dom 현재 최신버전

0

616

1

Test.js 소스코드 볼 수 있을까요?

0

494

2

닉네임 중복검사 시 404 에러

0

516

1

수정 버튼 눌렀을 때 이전 이미지 경로

0

441

1

이미지 수정이 안되고 이전 이미지 경로가 안떠요 ㅜㅜ

0

570

1

upload에서 제출 시 오류

0

628

2

여기 학습에 필요한 css 이거 어디에 있나요?

1

628

1