inconshreveable / ngrok

Unified ingress for developers
https://ngrok.com
Other
24.17k stars 4.26k forks source link

Compiling using "make" fails #878

Closed TadavomnisT closed 2 years ago

TadavomnisT commented 2 years ago

Greeting , and Thanks for this project.

I was interested to find out how does the project worked under the hood, so I took steps as Developer's guide to ngrok but during the compiling using make command, I get the following errors:

┌──(user㉿dhcppc4)-[~/Desktop/ngrok]
└─$ make  
go fmt ngrok/...
go: warning: "ngrok/..." matched no packages
bin/go-bindata -nomemcopy -pkg=assets -tags=debug \
        -debug=true \
        -o=src/ngrok/client/assets/assets_debug.go \
        assets/client/...
bin/go-bindata -nomemcopy -pkg=assets -tags=debug \
        -debug=true \
        -o=src/ngrok/server/assets/assets_debug.go \
        assets/server/...
go get -tags 'debug' -d -v ngrok/...
go get ngrok/...: malformed module path "ngrok": missing dot in first path element
make: *** [Makefile:8: deps] Error 1

I searched about that , and it led me into this issue #832 , but it didn't help. Any idea what might be the problem? Also I would appreciate it, if anyone could introduce me a detailed tutorial about compiling and running ngrok as server in local.

Thanks in advance <3

kssion commented 2 years ago

Try before make.

go env -w GO111MODULE=off
TadavomnisT commented 2 years ago

Try before make.

go env -w GO111MODULE=off

@kssion Thank you, it worked.