-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: install golang.org/x/tools/gopls@latest failed #65431
Comments
I think there are two problems here, and unfortunately I can't explain either of them yet. (I've retitled the issue for the first one.) I tried this command to reproduce the problem, with no luck (it works fine):
I don't understand why you would see a missing symbol error (xurls.Relaxed) but not a missing package or module error first. (Perhaps the alternative proxy delivered the wrong version of the right package? But it seems fine at the moment.) |
@findleyr points out that the second error ('any') is likely a consequence of running an old version of gopls that doesn't include the post-generics type checker. Once we fix the real problem of installation it should go away. |
Glad to hear it. Does that mean you are still able to reproduce the first problem? If so, we would love to get to the bottom of this, as we wonder whether a large number of users in China are experiencing similar problems with the proxy. Could you run this command and tell us what happens?
Thanks. |
WOW ,THANKS! So, this problem is cause of my VPN server ? go: downloading golang.org/x/tools/gopls v0.14.2 |
We still don't have a hypothesis. The command above should reproduce the command that was failing in your initial report, but it seems from all the "downloading" messages that it completed successfully. |
Do you have any additional settings in your VS Code environment? Can you share your exact VS Code and VS Code Go extension versions?
|
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Go version
go version go1.21.6 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
I am try to get latest gopls.
What did you see happen?
What did you expect to see?
I download many times..
The text was updated successfully, but these errors were encountered: