grpc-web
grpc-web copied to clipboard
fixed protoc-plugin build failure
fixed protoc-plugin build failure and now build successful.
.
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: Vuhag123 (410aae98a58ab7ed36003b126682d611eb4d6d54, ac488502e7fc44fe2556604cb3724991077ebb75)
- :white_check_mark: login: stanley-cheung / name: Stanley Cheung (e4043a0cf84220fb2499a34b25e9bc6de700c8a8)
@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