olebedev / go-starter-kit

[abandoned] Golang isomorphic react/hot reloadable/redux/css-modules/SSR starter kit
Other
2.82k stars 359 forks source link

Setup Instructions Not Working #67

Closed epalaima closed 7 years ago

epalaima commented 7 years ago

Hi, I cloned the repo and ran make install, which does not return any errors, but when I run make serve I get:

'go install /Users/Emmett/Desktop/go-starter-kit/vendor/github.com/olebedev/on can't load package: package /Users/Emmett/Desktop/go-starter-kit/vendor/github.com/olebedev/on: import "/Users/Emmett/Desktop/go-starter-kit/vendor/github.com/olebedev/on": cannot import absolute path make: *** [/bin/on] Error 1

Any idea what is causing this? Thanks!

olebedev commented 7 years ago

Hi @epalaima,

what is the output of go env command?

epalaima commented 7 years ago
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/Emmett/golang"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
olebedev commented 7 years ago

Move project folder into GOPATH.