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
x/tools/gopls: "Inconsistent vendoring detected" message pops up with every keypress #40101
Comments
Addendum: Clicking the Addendum 2: I tried wiping go.sum, vendor/, and all except the first line of go.mod (package name) and rebuilding all updates and vendor/. No change in behavior. |
@blocknonip: Can you please share your I agree the link isn't particularly helpful, but unfortunately there isn't a good resource on the meaning of inconsistent vendoring that we could link instead. The pop-up is necessary because none of the |
I fixed a similar problem. my root cause is: incorrectly install google.golang.org/protobuf@v1.25.0. Trace
Action
Root Causein https://developers.google.com/protocol-buffers/docs/gotutorial. when I follow the instruction, get the following result
then I tried with
no permission, another try
Another findingalthough I install gopls 0.4.3, still find there is a gopls v0.4.1 running (also though the CoCInfo log). I finally find it in the following directory:
then I will consider upgrade coc release. |
Change https://golang.org/cl/241984 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersgo env
to get the go development environment detailsShare the Go related settings you have added/edited
Describe the bug
Every keypress, a message pops up that says:
This is very unusual (and annoying), because there is nothing inconsistent about my vendoring, to my knowledge. I received no errors from any go command, and my builds all complete successfully.
I have an alias that runs the following (successfully):
If I limit it to the following, the results are the same:
Additionally, the included GitHub URL is not helpful in determining why my vendoring is allegedly inconsistent. This is from a large(ish) project, so I don't have a sample repo to share at the moment to reproduce.
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: