Skip to content
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

Cannot load google.golang.org/grpc/resolver/dns while building #922

Closed
EgorkZe opened this issue Nov 7, 2019 · 5 comments
Closed

Cannot load google.golang.org/grpc/resolver/dns while building #922

EgorkZe opened this issue Nov 7, 2019 · 5 comments
Labels
go.mod Issues related to go modules question

Comments

@EgorkZe
Copy link

EgorkZe commented Nov 7, 2019

When make "go build" get this error cannot load google.golang.org/grpc/resolver/dns: module google.golang.org/grpc@latest found (v1.25.0), but does not contain package google.golang.org/grpc/resolver/dns

@milosgajdos milosgajdos added go.mod Issues related to go modules question labels Nov 7, 2019
@jakexks
Copy link
Contributor

jakexks commented Nov 7, 2019

Did you ever use go get -u? (don't do that!) If you've changed go.mod from what's in the repo you will have problems, a completely clean checkout works fine:

https://gist.github.com/jakexks/40a9095c08f2980b6e2189035dfe3b35

@leaxoy
Copy link
Contributor

leaxoy commented Nov 8, 2019

This is etcd issue etcd-io/etcd#11338

@syinwu
Copy link

syinwu commented Nov 8, 2019

change go.mod "google.golang.org/grpc" version to 1.23.1

@yifanes
Copy link

yifanes commented Nov 8, 2019

change go.mod "google.golang.org/grpc" version to 1.23.1

我刚刚和同事看了半天,我个人觉得作为 etcd 这么优秀的开源产品, 客户端没有添加mod,出现这种问题,真的不应该.
谢谢你的回答!

@vtolstov
Copy link
Contributor

vtolstov commented Feb 5, 2020

close now, as i'm cant reproduce it with current master

@vtolstov vtolstov closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go.mod Issues related to go modules question
Projects
None yet
Development

No branches or pull requests

7 participants