grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.46k stars 762 forks source link

Protoc-gen-js: Plugin failed with status code 3221225595 #1308

Closed slalbertojesus closed 7 months ago

slalbertojesus commented 1 year ago

Trying to ran it on windows 10 got, the next error: --js_out: protoc-gen-js: Plugin failed with status code 3221225595. My bin contains protoc, protoc-web and protoc-gen-js Any guesses? Or maybe its my end?

sampajano commented 1 year ago

Hi. :)

Could you specify the proto-gen-js version that you have? Along with the JS code and the command that you've used?

Since the error is thrown by protoc-gen-js, https://github.com/protocolbuffers/protobuf-javascript would be the more appropriate place for reporting this issue (grpc-web is responsible for generating code for the --grpc-web_out=... flag).

Could you file an issue there and maybe cross mention the issue here for tracking? thanks :)

heggi commented 1 year ago

https://github.com/protocolbuffers/protobuf-javascript/issues/142

The latest release of protoc-gen-js was built with dynamic linking to mingw's specific libraries (libstdc++-6.dll, libwinpthread-1.dll) I didn't find the easy way to run the original protoc-gen-js and I compiled it from source with Visual Studio.

sampajano commented 7 months ago

Closing for now. Feel free to reopen if you still have questions :)