개발/버그 해결 기록
[heroku] App not compatible with buildpack 에러 해결
개발햄
2019. 4. 6. 16:32
페이스북 챗봇 연습을 위해 heroku서버에 올리는 도중 다음과 같은 에러가 발생하였다.
Delta compression using up to 8 threads
Compressing objects: 100% (1006/1006), done.
Writing objects: 100% (1045/1045), 1.49 MiB | 815.00 KiB/s, done.
Total 1045 (delta 159), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to app-test.
remote:
To https://myPagePath
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://myPagePath'
해결 방법은 다음과 같다
터미널에
$ heroku buildpacks:clear
를 실행해주면 앱의 기본 Heroku 빌드 팩을 사용할 수 있다.