Hello i am having troubles running my script on windows.
This is the script:
SRC_DIR="./libs/proto-schema/src/proto/*.proto"
DEST_DIR="./libs/proto-schema/src/"
# node_modules/ts-proto/protoc-gen-ts_proto.cmd
protoc --plugin=protoc-gen-ts_proto=.\node_modules\.bin\protoc-gen-ts_proto.cmd --ts_proto_opt=outputEncodeMethods=true,useEnumNames=false,asClass=false,outputJsonMethods=true,context=true,outputNestJs=true,outputClientImpl=false --ts_proto_out=${DEST_DIR} ${SRC_DIR}
Relevant issues:
improbable-eng/ts-protoc-gen#15
#13
I tried changing the path to --plugin=protoc-gen-ts_proto=.\node_modules.bin\protoc-gen-ts_proto.cmd and also with %CD%