helloworld-grpc-gateway icon indicating copy to clipboard operation
helloworld-grpc-gateway copied to clipboard

[email protected] requires [email protected] not [email protected]

Open Lanskask opened this issue 2 years ago • 1 comments

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 avatar Nov 16 '22 16:11 Lanskask

go version
go version go1.19.3 darwin/amd64

Lanskask avatar Nov 16 '22 16:11 Lanskask