-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
go.etcd.io/etcd v3.4.14+incompatible 查找不到 #4
Comments
第二个同学说这个问题了,我这里复现不了,项目的travis ci编译也没问题。 |
谢谢,我到官方去看看 |
Etcd一直go module支持的不好。 |
你可以给goproxy.cn提个bug,可能是代理的问题,没有处理 https://goproxy.cn/go.etcd.io/etcd/@v/v3.4.14+incompatible.mod |
使用 goproxy.io做代理,不要使用goproxy.cn或者ali的proxy试试,应该可以。
|
我这边遇到了同样的问题,换代理都不行 |
给你个临时解决方案,到官方下载v3.4.14的包。解压到你项目目录附近并创建对应完整目录,这样“go.etcd.io/etcd ”, 然后通过你的go.mod文件里面replace把go.etcd.io/etcd指过去就好了。这只是个临时解决办法。 看来起像这样: replace ( |
这样感觉不是很优雅,我先用v5.7.9版本吧。 @smallnest 你可以帮忙看看,这个确实有问题。 |
可以确定是代理问题 |
可能真的是代理问题,但国内就goproxy.io,goproxy.cn这几个代理可用,我看很多人都有同样的问题,能否优化下,能兼容国内代理呢? |
pkg.go.dev上查找最新也就v3.3.25+incompatible, 这明显和实际不符. |
github上这个版本是有的。如果https://pkg.go.dev/go.etcd.io/etcd@v3.3.25+incompatible大家没问题的话我考虑改成3.3.25 版本 |
有解决方案了吗 赶紧解决啊 现在编译不过 太蛋疼了 |
可能大家对用哪个版本etcd暂时不是很关心,主要是得能正常编译过,否则rpcx就更新不上去。 |
changed etcd to v3.3.25+incompatible |
这是etcd的一个问题。需要你在你的go.mod中加上: replace (
github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.3
google.golang.org/grpc => google.golang.org/grpc v1.26.0
) |
@ansoda this dependency problem should now be solved with the newest version. please test it. |
在获取 github.com/rpcxio/rpcx-etcd 时候出现以下问题,怎么处理呢
go: github.com/rpcxio/rpcx-etcd@v0.0.0-20201229103411-8317fc934fbb requires
go.etcd.io/etcd@v3.4.14+incompatible: reading https://goproxy.cn/go.etcd.io/etcd/@v/v3.4.14+incompatible.mod: 404 Not Found
server response: not found: go.etcd.io/etcd@v3.4.14+incompatible: invalid version: +incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required
The text was updated successfully, but these errors were encountered: