-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: confusing error message when go list
is missing checksums for patterns outside the main module
#59755
Comments
Fixed a typo: I was running |
so there's a module that's pruned out, does go just need a better error message in this case? cc @bcmills |
Sounds like #56222, maybe? |
Wait, no. |
In particular: If |
So, I agree with @seankhliao that the problem here is the error message. We shouldn't say |
go list
confused during list resolvinggo list
is missing checksums for patterns outside the main module
Change https://go.dev/cl/536175 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Probably?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran
go list github.com/...
in a repository and gotRunning
go mod tidy
did not fix it.Here's a MWE:
Running
go mod init tg
gives me the followinggo.mod
andgo.sum
What did you expect to see?
A list of go modules
What did you see instead?
The text was updated successfully, but these errors were encountered: