You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
shared\proto\Api.proto \
--plugin="protoc-gen-ts=$(PROTOC_GEN_TS_PATH)"make \
--js_out="import_style=commonjs,binary:$(protoJavascriptPath)" \
--ts_out=".\"
Whatever path I use in ts_out (" ./", ".", :$(protoJavascriptPath), no path at all, empty path, "." , with or without quotes), if I use Powershell or a makefile(CMD): I receive the following error:
--ts_out: protoc-gen-ts: The system cannot find the path specified.
Windows x86-64, libprotoc 3.6.1,
Javascript, php outputs just work fine.
with the command:
protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src --ts_out=./src -I src/ proto/hackernews.proto
In Win10, it prompt
--ts_out: protoc-gen-ts: %1 不是有效的 Win32 应用程序。
means "Not a valid Win32 application. "