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

[email protected] requires [email protected] not [email protected] #2

Open
Lanskask opened this issue Nov 16, 2022 · 1 comment
Open

Comments

@Lanskask
Copy link

What I do and its result

$ gh repo clone iamrajiv/helloworld-grpc-gateway
$ cd helloworld-grpc-gateway
$ make install

# output
go get \
		github.com/bufbuild/buf/cmd/buf \
		github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
		github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
		google.golang.org/grpc/cmd/protoc-gen-go-grpc \
		google.golang.org/protobuf/cmd/protoc-gen-go
go: downloading github.com/bufbuild/buf v1.9.0
go: github.com/bufbuild/[email protected] (matching github.com/bufbuild/buf/cmd/buf@upgrade) requires google.golang.org/[email protected], not google.golang.org/[email protected] (matching google.golang.org/protobuf/cmd/protoc-gen-go@upgrade)
make: *** [install] Error 1

What I expect

That it will install the listed packages :-)

My System

$ uname -a
Darwin Bla-Bla.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64

Temp solution?

But if install them separately everything is ok

go get github.com/bufbuild/buf/cmd/buf 
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway 
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc 
go get google.golang.org/protobuf/cmd/protoc-gen-go
@Lanskask
Copy link
Author

go version
go version go1.19.3 darwin/amd64

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

1 participant