-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Description
I'm trying to see if this project will generate TypeScript definitions for my Protobuf types (sounds like it will). However, I can't seem to get it working. I tried a command similar to the one in the readme, which gave me:
c:\apps\protobuf\bin\protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated --proto_path=../../Proto ../../Proto/dnstools.proto
--ts_proto_out: protoc-gen-ts_proto: %1 is not a valid Win32 application.
After reading protocolbuffers/protobuf#3923, I tried protoc-gen-ts_proto.cmd
as the plugin path, which gave me a different error:
c:\apps\protobuf\bin\protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto.cmd --ts_proto_out=./src/generated --proto_path=../../Proto ../../Proto/dnstools.proto
'protoc-gen-ts_proto' is not recognized as an internal or external command,
operable program or batch file.
--ts_proto_out: protoc-gen-ts_proto: Plugin failed with status code 1.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels