question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

grpc-web plugin not working in GitHub Codespaces

See original GitHub issue

I am running the code generator plugin in GitHub Codespaces and gett the following error:

/usr/local/bin/protoc-gen-grpc-web: 1: /usr/local/bin/protoc-gen-grpc-web: Not: not found
--grpc-web_out: protoc-gen-grpc-web: Plugin failed with status code 127.

protoc is installed and in the PATH and both binaries are executable (chmod +x …).

Do you have any thoughts on where I might start to resolve this?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
andrewwestoncommented, Sep 3, 2021

I’ll see what I can do to reproduce using a simple Docker in Docker set-up. I might not get to get for a few days…

0reactions
ali2210commented, Apr 17, 2022

When I want to add grpc-web in my project.

1. npm i grpc-web 
2. protoc --js_out=import_style=commonjs,binary:. stubs/grpcc/task.proto --grpc-web_out=import_style=commonjsmode=grpcwebtext:.
         **`--grpc-web_out: protoc-gen-grpc-web: Plugin failed with status code 1.`**

@andrewweston

Read more comments on GitHub >

github_iconTop Results From Across the Web

protoc-gen-grpc-web: plugin failed with status code 1. - You.com
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 ......
Read more >
grpc-web - npm
Start using grpc-web in your project by running `npm i grpc-web`. ... the protoc-gen-grpc-web protoc plugin from our Github release page.
Read more >
GitHub Codespaces Error loading webview: Error: Could not ...
When I open a README.md Markdown Preview view in GitHub Codespaces on Google Chrome (as well as ...
Read more >
github - Franky's Notes
What's new with Codespaces from GitHub Universe 2022 (Nik Molnar) - I'm a big fan ... Start working on GitHub Issues faster (Daniel...
Read more >
Integrating Apache APISIX With gRPC-Web - API7.ai
gRPC Web is a standardized protocol that solves this problem. ... work when gRPC Web communicates with gRPC Server in the grpc-web plug-in, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found