You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our app is deploying successfully on 1.15, but gives the following error when deploying on 1.16. I'm pretty sure we need GO111MODULE=auto set, but it doesn't look like the buildpack looks for that right now? This app has not been migrated to modules yet and is currently using dep instead.
-----> New Go Version, clearing old cache
-----> Installing go1.16
-----> Fetching go1.16.linux-amd64.tar.gz... done
-----> Running: go install -v -tags heroku ./src/cmd/...
go: cannot find main module, but found Gopkg.lock in /tmp/tmp.VT0EYkxNgQ/.go/src/github.com/my-org/my-repo
to create a module there, run:
go mod init
! Push rejected, failed to compile Go app.
! Push failed
The text was updated successfully, but these errors were encountered:
Our app is deploying successfully on 1.15, but gives the following error when deploying on 1.16. I'm pretty sure we need
GO111MODULE=auto
set, but it doesn't look like the buildpack looks for that right now? This app has not been migrated to modules yet and is currently usingdep
instead.https://blog.golang.org/go116-module-changes
The text was updated successfully, but these errors were encountered: