io2015-codelabs icon indicating copy to clipboard operation
io2015-codelabs copied to clipboard

"Building a gRPC service with Node.js" CodeLab does not work

Open meteatamel opened this issue 9 years ago • 2 comments
trafficstars

I tried the mentioned codelab. At step3, I Git cloned the example and installed gRPC package with "go get google.golang.org/grpc" command. However, when I try "go run client.go", this is the error I'm getting on Cloud Shell:

atameldev@codelab-grpcwithnodejs:~/io2015-codelabs/gRPC/start$ go run client.go 
# _/home/atameldev/io2015-codelabs/gRPC/start/books
books/books.pb.go:252: cannot use _BookService_List_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.meth
odHandler in field value
books/books.pb.go:256: cannot use _BookService_Insert_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.me
thodHandler in field value
books/books.pb.go:260: cannot use _BookService_Get_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.metho
dHandler in field value
books/books.pb.go:264: cannot use _BookService_Delete_Handler (type func(interface {}, context.Context, grpc.Codec, []byte) (interface {}, error)) as type grpc.me
thodHandler in field value
atameldev@codelab-grpcwithnodejs:~/io2015-codelabs/gRPC/start$ 

meteatamel avatar Mar 14 '16 11:03 meteatamel

Same thing here

skandl avatar Aug 18 '16 19:08 skandl

Same thing here also

adetola-ralph avatar Dec 18 '16 16:12 adetola-ralph