yorkie-team/dashboard

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

Closed this issue · 1 comments

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.

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