본문 바로가기
개발 부산물

[HEROKU] at=error code=H10 desc="App crashed" method=GET path="/" host

by 개탱 2023. 8. 6.
728x90

환경 :  React Typescript

 

1. 헤로쿠 빌드팩 추가

 -heroku buildpacks:set mars/create-react-app

명령어를 통해 heroku 빌드팩 변경 하면 아래와 같이 변경된다.

 

Before

After

이후 

git push heroku master

를 이용하여 배포를 하니까

 

 

아 ㅋㅋ.. 빌드팩이 헤로쿠22를 지원안한다네요

 

22를 지원하는 빌드팩으로 변경을 하려다

헤로쿠를 우선 20으로 변경하고 사용해보려합니다.

heroku stack:set heroku-20

이후 다시 배포

 

댓글