ts-protoc-gen
ts-protoc-gen copied to clipboard
protobuf v21 can't find protoc-gen-js
When upgrading from protoc 3.20.1 to 21.1, I get this:
protoc-gen-js: program not found or is not executable
If I revert, with the exact same protoc
command, it goes away.
Is some change in ts-protoc-gen needed for protobuf v21.1, or maybe a different setting?
Thank you!
We're having the same problems. Currently can't upgrade the protoc version because of this. Really looking forward to this fix. I would love to help if I can in any way :)
Probably due to this: https://github.com/protocolbuffers/protobuf-javascript/issues/127
A global install of protoc-gen-js
fixes it.
npm install -g protoc-gen-js
Although not a long term solution.