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

Installation of protoc-gen-grpc-web #14

Open
iAmGroot1 opened this issue Feb 25, 2020 · 1 comment
Open

Installation of protoc-gen-grpc-web #14

iAmGroot1 opened this issue Feb 25, 2020 · 1 comment

Comments

@iAmGroot1
Copy link

Hi,

Sorry for an unrelated question
I am currently working on using grpc-web to write a simple client for my service. I have created a service.proto file which was successfully compiled using protoc. The problem arose when I tried to generate the gRPC-Web service client stub using the plugin protoc-gen-grpc-web which doesnt work despite having installed the latter.

Got the following error :
protoc -I=./ service.proto --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./
protoc-gen-grpc-web: program not found or is not executable
--grpc-web_out: protoc-gen-grpc-web: Plugin failed with status code 1.

OS : Ubuntu 18.04

Any suggestions on how to solve this issue? Thank you!

@easyCZ
Copy link
Owner

easyCZ commented Feb 27, 2020

I suspect when protoc is being invoked, it cannot find the grpc-web plugin. Would you happen to have a sample repository with setup steps? Ideally runnable in something like docker so we can isolate environment specific issues? I'm happy to help you investigate this.

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