Closed arvenil closed 6 years ago
--install
is supposed to adjust the GOPATH
to ~/go/src/github.com/alecthomas/gometalinter/_linters
and install them from the vendored copy, but from the error it doesn't look like that is happening.
You could try running with an explicit GOPATH:
export GOPATH=/Users/kdz/go/src/github.com/alecthomas/gometalinter/_linters
and also with --debug
to see if that prints more info.
You could also try the binary install: https://github.com/alecthomas/gometalinter/releases
No response.
facing the same issue , have even set the gopath to pointe to the executable GOARCH="amd64" GOBIN="" GOCACHE="/Users/altanaibisht/Library/Caches/go-build" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/altanaibisht/go/src/stats_service_api:/Users/altanaibisht/go:/Users/altanaibisht/go/src:/Users/altanaibisht/go/src/stats_service_api/bin/gometalinter" GORACE="" GOROOT="/usr/local/Cellar/go/1.10.3" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.10.3/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" 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=/var/folders/1g/mwm4v23x7tz3qfwsxtk9mcdr0000gn/T/go-build381288496=/tmp/go-build -gno-record-gcc-switches -fno-common"
debug logs : https://pastebin.com/k4DZEnFV