-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Description
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.
https://blog.golang.org/go116-module-changes
-----> 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
Metadata
Metadata
Assignees
Labels
No labels