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

[rust] Error starting the proto build with new rust wasm package. Error when executing /usr/bin/protoc-gen-ts #251

Closed
plachta11b opened this issue Feb 14, 2024 · 1 comment · Fixed by #259
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@plachta11b
Copy link

plachta11b commented Feb 14, 2024

Missing line #!/usr/bin/env node in js/plugin/main.js file.

I built this package locally from the rust source. Steps leading to reproducing to execution error:

  • curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • npm install -g wasm-pack
  • apt install pkg-config libssl-dev
  • wasm-pack build --out-dir js/plugin/dist --target nodejs --no-pack --out-name plugin
  • npm install --force -g .

Protoc version: libprotoc 25.1 (ubuntu image)

Version: main-7a6a5473

@plachta11b plachta11b changed the title Error starting the proto build with new rust wasm package. Error when executing /usr/bin/protoc-gen-ts [rust] Error starting the proto build with new rust wasm package. Error when executing /usr/bin/protoc-gen-ts Feb 14, 2024
@thesayyn thesayyn added the bug Something isn't working label Mar 1, 2024
@thesayyn
Copy link
Owner

thesayyn commented Mar 1, 2024

Yes, this looks like a bug. PRs are welcome.

@thesayyn thesayyn added the help wanted Extra attention is needed label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants