Skip to content
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 only use path@version syntax with 'go get'? #220

Open
seriiserii825 opened this issue May 9, 2022 · 2 comments
Open

Can only use path@version syntax with 'go get'? #220

seriiserii825 opened this issue May 9, 2022 · 2 comments

Comments

@seriiserii825
Copy link

I tried to install them for vim syntax from documentation.

go install github.com/mattn/efm-langserver@latest

In terminal i got this error

can't load package: package github.com/mattn/efm-langserver@latest: can only use path@version syntax with 'go get'

I can replace install with get

But what to do after that?

Alt text

@ascandella
Copy link

What version of Go are you on? I believe this error occurs for older installations. Try updating to 1.17 or later

@TamaMcGlinn
Copy link

Ubuntu's most recently packaged version is golang-1.13 so that may be the problem. Instead of sudo apt install golang-go use these instructions to unzip and add to path the prebuilt latest go (current 1.18). First do a sudo apt remove golang-go if you have already installed via apt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants