-
Notifications
You must be signed in to change notification settings - Fork 22
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
Can't run compile-proto.sh #34
Comments
Hi the current error I'm getting is PS C:\Users\mrtkr\Documents\GitHub\grpc-js-typescript\examples\ts-protoc-gen> node_modules/.bin/grpc_tools_node_protoc -I="./" --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --plugin=protoc-gen-grpc=./node_modules/.bin/protoc-gen-grpc --js_out=import_style=commonjs:. --grpc_out=grpc_js:. --ts_out=grpc_js:. ./proto/example.proto Error: Command failed: C:\Users\mrtkr\Documents\GitHub\grpc-js-typescript\examples\ts-protoc-gen\node_modules\grpc-tools\bin\protoc.exe --plugin=protoc-gen-grpc=C:\Users\mrtkr\Documents\GitHub\grpc-js-typescript\examples\ts-protoc-gen\node_modules\grpc-tools\bin\grpc_node_plugin.exe -I=./ --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --plugin=protoc-gen-grpc=./node_modules/.bin/protoc-gen-grpc --js_out=import_style=commonjs:. --grpc_out=grpc_js:. --ts_out=grpc_js:. ./proto/example.proto
killed: false, Like this I've tried to modify the script but I couldn't run it successfully |
Apologies for the belated response. I'll add some windows scripts to help with this when i get some time, in the meantime have you tried using the grpc-proto-loader as it does not use the proto compiler. |
Hello,
Yeah, I've tried it and managed to run successfully thank you. I'll be much
more appreciated if I could run with the compiler. Thank you again.
24 Kas 2021 Çar 15:17 tarihinde Richard Willis ***@***.***>
şunu yazdı:
… Apologies for the belated response. I'll add some windows scripts to help
with this when i get some time, in the meantime have you tried using the
grpc-proto-loaded
<https://github.com/badsyntax/grpc-js-typescript/tree/master/examples/grpc-proto-loader>
as it does not use the proto compiler.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKK4FPCWL25FRWJA2R7AJBLUNTJW3ANCNFSM5ISG54UA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hello, thanks for the effort you've been giving to this project. Its been really helpful for me.
But I couldn't generate proto files from the script you've written in windows even though bash is installed. Can you help me with that?
The text was updated successfully, but these errors were encountered: