-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: difficulty resolving 'error loading module requirements' with kubernetes #32864
Comments
See #32776 and kubernetes/kubernetes#79384 Specifically this comment #32776 (comment)
|
Thanks for the response @AlexRouSg . I understand that I would need to add all the indirect modules myself but the error message on go mod tidy was not even remotely helping me. Or others that might have same issue. I was hoping by adding -v I could get some more details. Is there any way go mod could provide more context or more helpful error message? |
Plus I had the same issue when I was trying to use the sub package. ( Either client-go or kubectl) |
The error message is actually:
The |
Two things:
so I don't think it is unknown revision since i have given the commit id to it. |
In their go.mod file they have a bunch of The errors are from trying to resolve kubernetes' dependencies, so it doesn't matter that your go.mod file has proper require lines. |
ok thank you for the explaining. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, I am using latest.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
in minikube go.mod I bumped
k8s.io/kubernetes v1.11.3
tok8s.io/kubernetes v1.15.0
and I ran
go mod tidy -v
What did you expect to see?
I expected it update my dependency or tell me what is blocking it form doing so.
What did you see instead?
go: error loading module requirements
The failing go.mod
The text was updated successfully, but these errors were encountered: