Skip to content

Go Extension does not work #1234

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

Closed
tristanjclarke opened this issue Dec 19, 2019 · 10 comments
Closed

Go Extension does not work #1234

tristanjclarke opened this issue Dec 19, 2019 · 10 comments
Labels
extension The issue needs to be fixed in the extension

Comments

@tristanjclarke
Copy link

tristanjclarke commented Dec 19, 2019

Description

When using any of the commands for the go extension the error command 'go.gopath' not found becomes present.

This same thing happens for every go command and reduces usability of the go extension.

Have tried Go: Install/Update Tools and command 'go.tools.install' not found is reported.

@sr229 sr229 added the bug Something isn't working label Dec 19, 2019
@tristanjclarke
Copy link
Author

Is there any update on this bug?

@nhooyr
Copy link
Contributor

nhooyr commented Jan 27, 2020

Another broken extension due to the scraper. See #1299

@nhooyr nhooyr added the extension The issue needs to be fixed in the extension label Jan 27, 2020
@nhooyr nhooyr removed the bug Something isn't working label Jan 27, 2020
@kylecarbs
Copy link
Member

Fixed! The Go extension requires Go is in your path otherwise the extension will fail to install.

@Rudi9719
Copy link

Rudi9719 commented Mar 29, 2020

Sorry for the necro, however I'm getting this exact issue using Go 1.14.1 on linux/amd64
Was trying to get the intellisense / autocomplete working and was getting the above errors.

GOARCH="amd64"
GOBIN="/home/rudi/go/bin"
GOCACHE="/home/rudi/.cache/go-build"
GOENV="/home/rudi/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/csnet/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build390077288=/tmp/go-build -gno-record-gcc-switches"```

@nhooyr nhooyr reopened this Mar 30, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Mar 30, 2020

@cmoog

@Abhid14
Copy link

Abhid14 commented Mar 30, 2020

For me not only go but even html and simple vanilla javascript is not working even extensions are failing to work like html formatter.

@Rudi9719
Copy link

Rudi9719 commented Apr 4, 2020

Also in response to @kylecarbs my path is as follows:
/usr/local/go/bin:/home/rudi/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

@cmoog
Copy link
Contributor

cmoog commented Apr 10, 2020

@Rudi9719 I think there is an issue with your path. I don't think your GOPATH is present in the PATH you've just pasted above. Also, consider changing your GOBIN to GOPATH/bin. Looks like they currently point to different home folders.

@cmoog cmoog closed this as completed Apr 10, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Apr 10, 2020

@Abhid14 Can you open a new issue regarding what errors you're getting?

@Abhid14
Copy link

Abhid14 commented Apr 10, 2020

@Abhid14 Can you open a new issue regarding what errors you're getting?

So far so Good since build 3.0.2 Will surely report if any problem occurs. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension The issue needs to be fixed in the extension
Projects
None yet
Development

No branches or pull requests

8 participants