You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
After opening VS Code I get message to update tools, clicking update I get failure in the Output tab.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
go.toolsGopath setting is not set. Using GOPATH /home/rsmol/go
Installing 1 tool at /home/rsmol/go/bin in module mode.
gopls
Installing golang.org/x/tools/gopls FAILED
1 tools failed to install.
gopls:
Error: Command failed: /usr/lib/golang/bin/go get -v golang.org/x/tools/gopls
get "golang.org/x/tools": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools?go-get=1
get "golang.org/x/tools/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/gopls?go-get=1
get "golang.org/x/tools/gopls": verifying non-authoritative meta tag
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20200318054722-11a475a590ac
go: extracting golang.org/x/tools v0.0.0-20200318054722-11a475a590ac
go get: golang.org/x/tools/[email protected] requires
golang.org/x/[email protected]: invalid version: unknown revision 6862ededa516
get "golang.org/x/tools": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools?go-get=1
get "golang.org/x/tools/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/gopls?go-get=1
get "golang.org/x/tools/gopls": verifying non-authoritative meta tag
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20200318054722-11a475a590ac
go: extracting golang.org/x/tools v0.0.0-20200318054722-11a475a590ac
go get: golang.org/x/tools/[email protected] requires
golang.org/x/[email protected]: invalid version: unknown revision 6862ededa516
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered:
It looks like the go command was trying to download dependencies using git instead of using GOPROXY proxies and hit a git bug. Can you try the workaround mentioned in golang/go#37140 (comment) ?
What version of Go, VS Code & VS Code Go extension are you using?
Run
go version
to get version of GoRun
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders78a4c91400152c0f27ba4d363eb56d2835f9903a
x64
Check your installed extensions to get the version of the VS Code Go extension
Run
go env GOOS GOARCH
to get the operating system and processor architecture detailsamd64
Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
prefixes.Describe the bug
After opening VS Code I get message to update tools, clicking update I get failure in the Output tab.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
![image](https://user-images.githubusercontent.com/66460/76950535-731b9b80-690a-11ea-81b6-d07670b14d0d.png)
The text was updated successfully, but these errors were encountered: