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 ourterms of serviceand privacy statement.We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goctl check: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest error #4283

Closed
jaronnieopened this issue Jul 29, 2024 · 4 comments
Assignees

Comments

@jaronnie
Copy link
Contributor

$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go: downloading google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.0
go: google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest (in google.golang.org/grpc/cmd/[email protected]):
The go.mod fileforthe module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently thanifit were the main module.

because latest protoc-gen-go-grpc go.mod has replace, can not use go install go dowload it

@jaronnie
Copy link
Contributor Author

image

@jaronnie
Copy link
Contributor Author

image

@jaronnie
Copy link
Contributor Author

jaronnie commented Jul 29, 2024

Does goctl need to lock the older version?

latest version is v1.5.0, we can use v1.4.0

or we can download tool, same as protoc tool

@kesonan
Copy link
Collaborator

kesonan commented Aug 13, 2024

It seems that grpc-go has already fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants