Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: unuseful error message when solving dependencies #31035

Closed
rakyll opened this issue Mar 25, 2019 · 2 comments
Closed

cmd/go: unuseful error message when solving dependencies #31035

rakyll opened this issue Mar 25, 2019 · 2 comments
Labels
FrozenDueToAge GoCommand cmd/go modules NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@rakyll
Copy link
Contributor

rakyll commented Mar 25, 2019

The build is failing with "error loading module requirements" without any insights on why module requirements didn't load. It also doesn't give any helpful details whether it was due to a third party library or not.

$ go run .
go: finding github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/postgres latest
go: finding github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers latest
go: finding github.com/GoogleCloudPlatform/cloudsql-proxy/proxy latest
go: finding github.com/GoogleCloudPlatform/cloudsql-proxy latest
go: finding golang.org/x/oauth2/google latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/net/context latest
go: finding golang.org/x/net latest
go: finding cloud.google.com/go v0.34.0
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
go: cloud.google.com/go@v0.34.0: unknown revision v0.34.0
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: error loading module requirements
@jayconrod
Copy link
Contributor

It looks like the error was buried in the rest of the chatter:

go: cloud.google.com/go@v0.34.0: unknown revision v0.34.0

This is related to #30661, but not quite a dup. But CL 166984 should fix this when it finally gets submitted.

@jayconrod jayconrod added NeedsFix The path to resolution is known, but the work has not been done. GoCommand cmd/go modules labels Mar 25, 2019
@jayconrod jayconrod added this to the Go1.13 milestone Mar 25, 2019
@jayconrod jayconrod self-assigned this Mar 25, 2019
@bcmills
Copy link
Contributor

bcmills commented Mar 28, 2019

This seems like a dup of #26152: one of the lines was useful, but it was buried in less-useful chatter.

@bcmills bcmills closed this as completed Mar 28, 2019
@golang golang locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go modules NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants