$GOPATH value not being recognized during build #28593
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I believe go version go1.11.2 darwin/amd64 is the latest release.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ echo $GOPATH
/Users/me/Google Drive/programming/golang/workspace
$ go run foo.go
foo.go:4:2: cannot find package "github.com/google/gopacket" in any of:
/usr/local/Cellar/go/1.11.2/libexec/src/github.com/google/gopacket (from $GOROOT)
/Users/me/go/src/github.com/google/gopacket (from $GOPATH)
What did you expect to see?
A successful build.
What did you see instead?
$GOPATH is set but is not being recognized. $GOPATH is defaulting to /Users/me/go even though it has a set value.
The text was updated successfully, but these errors were encountered: