-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
can't install golang.org/x/tools/gopls@latest #34076
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here. |
Oh, dear. That's only ok if the @shivatejesh, as a workaround you can either downgrade the |
We don't support building On the install instructions we say
specifically to avoid triggering this case. |
@ianthehat, if the assumption is that That would avoid this sort of skew regardless of which main module |
No, the whole point of having a separate gopls module is to allow it to have dependencies that x/tools does not. |
@shivatejesh dont worry about the 1.2 thing, that is a hard coded string from a mis-configured release, and not really a problem. |
My vscode version: |
@shivatejesh: Looks like |
This works for me! |
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.) |
how to check gopls done installed? |
@rifaimartin check your PATH and see if one of the listed directories in the PATH contains |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. (I need clarity on the question, latest release of what?)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go get golang.org/x/tools/gopls@latest
What did you expect to see?
Get gopls installed
What did you see instead?
shivatejeshrachamadugu-C02X74ABJGH6:go-code shivatejeshrachamadugu$ go get golang.org/x/tools/gopls@latest
Setting GO111MODULE to on
Using go version go1.12.6 darwin/amd64...
Running command "go get golang.org/x/tools/gopls@latest"...
golang.org/x/tools/gopls
../../pkg/mod/golang.org/x/tools/gopls@v0.1.3/main.go:20:41: not enough arguments in call to cmd.New
have (string, nil)
want (string, string, []string)
I have followed the steps over here #33464, but didn't succeed.
The text was updated successfully, but these errors were encountered: