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

Comments

Projects
None yet
3 participants
@rakyll
Copy link
Member

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

This comment has been minimized.

Copy link
Contributor

commented Mar 25, 2019

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 this to the Go1.13 milestone Mar 25, 2019

@jayconrod jayconrod self-assigned this Mar 25, 2019

@bcmills

This comment has been minimized.

Copy link
Member

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 Mar 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.