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
[BUG] go install go-micro.dev/v4/cmd/protoc-gen-micro@latest error #2344
Comments
tutengdihuang
changed the title
[BUG] p
[BUG] go install go-micro.dev/v4/cmd/protoc-gen-micro@latest error
Nov 10, 2021
Use @master or specify the tag. |
Hi @asim, I'm getting the same error both with the @latest and @master tags. Any other suggestions to get this to build? With @master go install go-micro.dev/cmd/protoc-gen-micro/v4@master
go install: go-micro.dev/cmd/protoc-gen-micro/v4@master: go-micro.dev/cmd/protoc-gen-micro/v4@v4.4.0: parsing go.mod:
module declares its path as: go-micro.dev/v4
but was required as: go-micro.dev/cmd/protoc-gen-micro/v4 with @latest go install go-micro.dev/cmd/protoc-gen-micro/v4@latest
go install: go-micro.dev/cmd/protoc-gen-micro/v4@latest: go-micro.dev/cmd/protoc-gen-micro/v4@v4.4.0: parsing go.mod:
module declares its path as: go-micro.dev/v4
but was required as: go-micro.dev/cmd/protoc-gen-micro/v4 go version go1.17.2 darwin/amd64 |
|
I'm getting this error $ go install go-micro.dev/v4/cmd/protoc-gen-micro@latest
go install: go-micro.dev/v4/cmd/protoc-gen-micro@latest: go-micro.dev/v4/cmd/protoc-gen-micro@v1.18.0: parsing go.mod:
module declares its path as: github.com/micro/go-micro
but was required as: go-micro.dev/v4/cmd/protoc-gen-micro |
I use below command to fix this issue: go install go-micro.dev/v4/cmd/protoc-gen-micro@v4 |
This was referenced Mar 31, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
go install go-micro.dev/v4/cmd/protoc-gen-micro@latest
go install: go-micro.dev/v4/cmd/protoc-gen-micro@latest: go-micro.dev/v4/cmd/protoc-gen-micro@v1.18.0: parsing go.mod:
module declares its path as: github.com/micro/go-micro
but was required as: go-micro.dev/v4/cmd/protoc-gen-micro
How to reproduce the bug:
If possible, please include a minimal code snippet here.
Environment:
Go Version: please paste
go version
output hereThe text was updated successfully, but these errors were encountered: