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

Getting error "protoc-gen-js: program not found or is not executable" when "npm run build:proto" #24

Closed
DongjinS opened this issue Jun 8, 2022 · 1 comment

Comments

@DongjinS
Copy link
Contributor

DongjinS commented Jun 8, 2022

Description:

"npm run build:proto" makes error "protoc-gen-js: program not found or is not executable" with protoc version 3.21.1.

After downgrade protoc version to 3.19.4, "npm run build:proto" makes no error. (refer protocolbuffers/protobuf-javascript#105)

"npm run build" script in package.json need to be changed for work with the latest version of protocol or read.me should tell me the appropriate protocol version.

Why:
Can work with the latest version of protocol buffer.

@hackerwins
Copy link
Member

Below is a guide to installing protoc-gen-js.
https://github.com/grpc/grpc-web#code-generator-plugin

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