Answer the question
In order to leave comments, you need to log in
How to solve deployment error on Heroku bin/*-heroku?
Hello. There is a small project on Go. I'm trying to put it on Heroku and I get an error:
remote: Building source:
remote:
remote: -----> Go app detected
remote: -----> Fetching jq... done
remote: -----> Fetching stdlib.sh.v8... done
remote: !!
remote: !! 'GOVERSION' isn't set, defaulting to 'go1.12.17'
remote: !!
remote: !! Run 'heroku config:set GOVERSION=goX.Y' to set the Go version to use
remote: !! for future builds
remote: !!
remote: -----> New Go Version, clearing old cache
remote: -----> Installing go1.12.17
remote: -----> Fetching go1.12.17.linux-amd64.tar.gz... done
remote: -----> Fetching errors-0.8.0.tar.gz... done
remote: -----> Fetching gb-0.4.4.tar.gz... done
remote: -----> Installing GB v0.4.4... done
remote: -----> Running: gb build -tags heroku
remote: bus
remote: bot
remote: -----> Post Compile Cleanup
remote: mv: cannot stat 'bin/*-heroku': No such file or directory
remote: ! Push rejected, failed to compile Go app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to transport-bot-k.
remote:
Answer the question
In order to leave comments, you need to log in
If src is at the root of the project, then Go's buildpack doesn't know how to build the project. Depending on what is used to check dependencies, certain tools are used during the build.
Additionally, the project root is missing a Procfile
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question