Open karalabe opened 8 years ago
Did you find a solution to this? I have the same issue.
Nope
The path I see it failing on is this:
/private/var/folders/00/0v42r000h01000cxqpysvccm003chb/T/appengine/go_appengine/goroot
I have the same issue:
go: cannot find GOROOT directory: /private/var/folders/zj/06c51mbs71z4r22r59jzffjm003chb/T/appengine/go_appengine/goroot
I fixed this by setting my GOROOT manually in my ~/.profile:
export GOROOT=/usr/local/go
I got a similar issue here.
Got both env vars set $GOROOT and $GOPATH
and still I can't "go get" any package.
But I can $ go get -u github.com/nsf/gocode
on my terminal... :disappointed:
I have the same issue:
go: cannot find GOROOT directory:
How to fix this?
I have same issue.
I have the same issue and think this might be related to having the Golang version of AppEngine installed via Homebrew in addition to the Go binary release from golang.org. The goapp binary is in /usr/local/bin but the Go binary is under /usr/local/go/bin/
My shell GOPATH is to a directory under my home filer and this doesn't seem to get picked up by the go-plus plugin. I've been looking around in locator.js which shows it searches for both the go binary and goapp and might be where the problem lies but haven't managed to follow the logic so far.
Also getting this. No problems from command line, also started atom through the command line with all my env set up ¯\_(ツ)_/¯
To resolve this:
The error shows the path it is looking for files like
go: cannot find GOROOT directory: /home/infinity/go1.X
simply create directory at your home
cd $HOME
mkdir go1.X
and extract all the files from tar.gz into this folder
as this is the GOROOT dir go
will look for, Hence it will run smoothly.
When I start up atom, it prompts
even though
cover
is installed. If I pressRun Go Get
, it fails with