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

Cannot install (go error) #46

Closed
AlmogBaku opened this issue Sep 13, 2018 · 2 comments
Closed

Cannot install (go error) #46

AlmogBaku opened this issue Sep 13, 2018 · 2 comments

Comments

@AlmogBaku
Copy link

Error:

$ go get github.com/fullstorydev/grpcurl
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
	ignoring ../../go.mod;
	see 'go help modules'
# github.com/jhump/protoreflect/dynamic/grpcdynamic
github.com/jhump/protoreflect/dynamic/grpcdynamic/stub.go:35:5: cannot use (*grpc.ClientConn)(nil) (type *grpc.ClientConn) as type Channel in assignment:
	*grpc.ClientConn does not implement Channel (missing Invoke method)


$ go install github.com/fullstorydev/grpcurl/cmd/grpcurl

# github.com/jhump/protoreflect/dynamic/grpcdynamic
github.com/jhump/protoreflect/dynamic/grpcdynamic/stub.go:35:5: cannot use (*grpc.ClientConn)(nil) (type *grpc.ClientConn) as type Channel in assignment:
	*grpc.ClientConn does not implement Channel (missing Invoke method)

Probably caused by newer(and breaking changes) dependency

@jhump
Copy link
Contributor

jhump commented Sep 13, 2018

Probably caused by newer(and breaking changes) dependency

Travis runs tests against latest dependencies every day, and there's been no recent breakage, so I doubt that's it.

More likely is the other direction: you are using a very old version of the google.golang.org/grpc package. Try updating it to latest (and whatever dependencies must also be updated) and see if that fixes your issue.

@AlmogBaku
Copy link
Author

Thanks! that worked!
It'll be useful if we can move to use go modules

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