inconshreveable / ngrok

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

make release-client problem #873

Closed KyleLee233 closed 2 years ago

KyleLee233 commented 2 years ago

go install -tags 'release' ngrok/main/ngrok

github.com/rivo/uniseg

src/github.com/rivo/uniseg/properties.go:130:6: missing function body src/github.com/rivo/uniseg/properties.go:130:20: syntax error: unexpected [, expecting ( make: *** [Makefile:17: client] Error 2

caseysoftware commented 2 years ago

This repository is not maintained or monitored. For help with this code, please look at one of the publicly available forks.

We recommend that you use the most recent version from ngrok.com/download for active development and support.

diandiancm commented 1 year ago

我也是这个问题,用的也是最新的代码

ruralharry commented 1 year ago

Me too.I use the newest code, but properties.go goes wrong...

xsm818 commented 1 year ago

请问有人解决了吗 我也是这个问题

leadscloud commented 8 months ago

不是很懂go的包管理,但发现了解决办法,出现错误的原因是uniseg版本过高,我使用的一个笨办法实现的解决

ngrok/src/github.com/rivo/

删除掉uniseg,然后下载老版本替换即可

wget https://github.com/rivo/uniseg/archive/refs/tags/v0.1.0.zip

go版本也不能过高,使用1.12.6版本