Skip to content

fixed protoc-plugin build failure #1483

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vuhag123
Copy link

fixed protoc-plugin build failure and now build successful.
Screenshot 2025-05-29 7 15 42 PM.

Copy link

linux-foundation-easycla bot commented May 30, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

@Vuhag123
Copy link
Author

@sampajano , @stanley-cheung After successfully resolving the build issue with the protoc-gen-grpc-web plugin, I'm now encountering a new problem related to the protoc-gen-js plugin. The issue from changes in the JavaScript code generation for Protobuf, as the older implementation has been moved and is now redirected to a new repository: https://github.com/protocolbuffers/protobuf-javascript.


Step 3/8 : RUN protoc -I=. echo.proto --js_out=import_style=commonjs:./commonjs-example --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./commonjs-example
---> Running in c88dd7eaa418
protoc-gen-js: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--js_out: protoc-gen-js: Plugin failed with status code 1.
The command '/bin/sh -c protoc -I=. echo.proto --js_out=import_style=commonjs:./commonjs-example --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./commonjs-example' returned a non-zero code: 1
ERROR: Service 'commonjs-client' failed to build : Build failed

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

Successfully merging this pull request may close these issues.

1 participant