Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: "Inconsistent vendoring detected" message pops up with every keypress #40101
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
Share 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:
@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 email@example.com.
in 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
although 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.