How to get Heroku to detect GO buildpack

When I try to deploy my own GO application using git push heroku masterI get an errorPush rejected, failed to detect set buildpack heroku/go

Since the error is quite specific in that the buildpack could not be detected, I tried to manually install it using the heroku buildpacks:set heroku/go Answer command , however, there was! Thebuildpack heroku/go is already set on your app.

Despite this, push attempts continue to cause the same error. Push rejected, failed to detect set buildpack heroku/go

It seems that the error message is misleading me, what else could be wrong? After my research, I made sure that there is a Procfile file in the application folder, and I was able to successfully complete all the steps to deploy the Heroku GO example in advance.

+4
source share
1

, go buildpack Godep, , .

a godep save , Heroku.

+6

Source: https://habr.com/ru/post/1629704/


All Articles