We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
截图如上
The text was updated successfully, but these errors were encountered:
我这边测试 go1.13 没有问题
初步怀疑是 upx 项目跟您本地的 Go Module 环境有些冲突,upx 项目默认是读取 vendor 下的库的。您可以试试,设置 GO111MODULE=off,看能不能解决。
GO111MODULE=off
Sorry, something went wrong.
确实是 GO111MODULE 的问题,我刚也遇到了;自己 clone 到 gopath 下面然后手动 make 就没问题;不过官方啥时候支持一下 go mod?
GO111MODULE=on github.com/upyun/upx 报错,是因为默认获取的是最新一次的 tag 记录(即 tag v0.2.6 ,还未使用 go mod 管理依赖)。
GO111MODULE=on github.com/upyun/upx
考虑到国内网络环境,用从 GOPROXY 拉取还是省时间的。要借助 GOPROXY 获取最新记录,就明确指定下分支:
go get -u github.com/upyun/upx@master
要么最新的稳定版本,修好 CI ,打个 tag ?
GO111MODULE=off 然后开启全局代理解决了我的问题
No branches or pull requests
截图如上
The text was updated successfully, but these errors were encountered: