-
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: suggest 'go get' instead of 'go mod tidy' when indirect dependencies are missing #46710
Comments
@bcmills I'm encountering this issue. How do you recommend I approach this issue until it's fixed? how can I know what module is the problematic one? |
@bcmills we are facing the similar problem all our CI test for golang 1.17 are failing with exact same error, downgraded the go version on drone.yml to 1.16 seem to work. Is there any specific that need to done to have our test working under go 1.17 |
@dwertent, @meetme2meat: this issue is about changing which command we suggest when the |
@bcmills Understood, but now our Drone CI running under go 1.17 result in failure(and work when go 1.16) with the exact same message. I don't know why it exiting at the above test as on my machine it work correctly |
Run |
(CC @matloob @samthanawalla) |
(Noticed while testing #45979.)
If a lazy module (#36460) is missing explicit requirements on indirect dependencies, we currently emit the error message:
This advice is correct, but it's too big a hammer — we should instead suggest
go get
on the specific packages within the main repo whose transitive dependencies are missing.CC @jayconrod @matloob
The text was updated successfully, but these errors were encountered: