installation: install go tools failed due to go modules in WSL 2 #510
Labels
FrozenDueToAge
tools/installation
upstream-go
Issues that are caused by bugs in the Go toolchain.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders91899dcef7b8110878ea59626991a18c8a6a1b3e
x64
go env
to get the go development environment detailsGOARCH="amd64"
GOBIN=""
GOCACHE="/home/cikupin/.cache/go-build"
GOENV="/home/cikupin/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/cikupin/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/cikupin/Apps/go1.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/cikupin/Apps/go1.14/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build961588625=/tmp/go-build -gno-record-gcc-switches"
Share the Go related settings you have added/edited
Remote WSL setting
Describe the bug
I cannot install go tools using WSL as well as install dependecies using go modules.
Steps to reproduce the behavior:
ctrl + shift + p
Go: Install/Update Tools
Screenshots or recordings
The text was updated successfully, but these errors were encountered: