Why I get this error when make:
[root@Centos7-15 ngrok]# make
go fmt ngrok/...
GOOS="" GOARCH="" go get github.com/jteeuwen/go-bindata/go-bindata
bin/go-bindata -nomemcopy -pkg=assets -tags=debug \
-debug=true \
-o=src/ngrok/client/assets/assets_debug.go \
assets/client/...
make: bin/go-bindata锛歝ommand not found
make: *** [client-assets] error 127
help me .
That's odd, it looks like it installed go-bindata. This happens every time from a fresh clone of ngrok?
The following seems to work
go get github.com/jteeuwen/go-bindata
cd $GOPATH/src/github.com/jteeuwen/go-bindata/go-bindata
go build
copy go-bindata into any directory on your PATH
Hm alright. Closing for now. Others can re-open if someone else experiences this issue.
I also ran into this issue when I didn't have Go installed. Following @cleocn's solution worked.
I use the command "go get github.com/jteeuwen/go-bindata".It shows that
package bufio: unrecognized import path "bufio" (import path does not begin with hostname)
The following seems to work
go get github.com/jteeuwen/go-bindata
cd $GOPATH/src/github.com/jteeuwen/go-bindata/go-bindata
go build
# to sys use
ln -s "${GOPATH}/src/github.com/jteeuwen/go-bindata/go-bindata/go-bindata" /usr/bin/go-bindata
# to cur use
mkdir bin
ln -s "${GOPATH}/src/github.com/jteeuwen/go-bindata/go-bindata/go-bindata" bin/go-bindata
ln -s /usr/bin/go-bindata bin/go-bindata
cd -
make
copy go-bindata into any directory on your PATH
Most helpful comment
The following seems to work
go get github.com/jteeuwen/go-bindata
cd $GOPATH/src/github.com/jteeuwen/go-bindata/go-bindata
go build
copy go-bindata into any directory on your PATH