Comments (5)
ngrok only targets Go 1.1+, which has different rules about when a function may end with a return statement. I should probably add this to the development guide.
Try upgrading to Go1.1 and recompiling.
from ngrok.
After installing go_1.1.2-godeb1_amd64.deb using http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go I get a different error :
$ make
go fmt ngrok/...
go get -tags '' -d -v ngrok/...
go install -tags '' ngrok/main/ngrok
go install -tags '' ngrok/main/ngrokd
# ngrok/server
src/ngrok/server/control.go:5: import /home/arthur/local/ngrok/pkg/linux_amd64/ngrok/conn.a: not a package file
make: *** [server] Error 2
from ngrok.
I've never seen that before. It's possible that the package file formats are different across Go versions. Can you try:
cd /home/arthur/local/ngrok
rm -rf pkg bin
make
Reopening while we figure this out.
from ngrok.
Works!
$ make
go fmt ngrok/...
go get -tags '' -d -v ngrok/...
go install -tags '' ngrok/main/ngrok
go install -tags '' ngrok/main/ngrokd
I tried doing make clean, isn't "rm -rf pkg bin" missing there ?
from ngrok.
After a little bit of research it turns out that go clean needed some other arguments passed to it to make it effective. make clean works now!
from ngrok.
Related Issues (20)
- ngrok status reconnecting issue failed to send authentication request: read tcp HOT 6
- Ngrok in the termux HOT 2
- React + Express + Socket.io + Ngrok HOT 2
- Not registering server responses HOT 3
- question regarding memory usage HOT 2
- "An SSL error has occurred and a secure connection to the server cannot be made" HOT 1
- ngrok service doesn't reconnect after laptop sleep with ERR_NGROK_334 HOT 3
- Proposal to Fork and Maintain ngrok HOT 4
- There was an issue when use ngrok http http://xxx.xxx.xxx.xxx HOT 1
- Ngrok not working correctly for me HOT 1
- NGROK won't send image if it is embedded in HTML HOT 1
- "no longer signed" error when updating with apt on Ubuntu HOT 2
- NgRok minecraft 1 20 4 server (vanila) HOT 2
- Issue in sending sensor data from ESP8266 to Ngrok tunnel HOT 1
- Successfully create tunnel, not able to connect to it HOT 1
- Threat detected by Windows Security: AndroidOS/ZkarletFlash HOT 1
- Can't connect to gRPC
- Ngrok service start failed on macos HOT 2
- Consider transferring issues to the new repo HOT 3
- Reconnection issue with ngrok while tunneling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrok.