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

protobuf v21 can't find protoc-gen-js #302

Open
gitpushdashf opened this issue Jun 2, 2022 · 3 comments
Open

protobuf v21 can't find protoc-gen-js #302

gitpushdashf opened this issue Jun 2, 2022 · 3 comments

Comments

@gitpushdashf
Copy link

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!

@elig-salt
Copy link

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 :)

@elig-salt
Copy link

Probably due to this:
protocolbuffers/protobuf-javascript#127

@AkshatGiri
Copy link

AkshatGiri commented Apr 19, 2024

A global install of protoc-gen-js fixes it.

npm install -g protoc-gen-js

Although not a long term solution.

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

3 participants