-
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
x/tools/gopls: could not import xxxx (no package for import xxxx) #42828
Comments
Can you please share your |
gpls settings:
|
pls server log with |
find some error that |
gopls server log after uninstall tdm-gcc |
becuase go auto use vendor directory if the "go" version in the main module's go.mod file is
gopls-server log, related issue #39164
|
I don't see the inconsistent vendoring error message in your previous log, but inconsistent vendoring will certainly cause problems. You should have seen a diagnostic message with a suggested fix to run |
yes, i don't reproduce inconsistent vendoring error message |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
use vscode 1.51.1 to open kubernets project, gopls report 115k+ problems
What did you expect to see?
no error
What did you see instead?
gopls server log output
gopls-server.txt
The text was updated successfully, but these errors were encountered: