Skip to content

Commit

Permalink
Add hint for Windows users (#107)
Browse files Browse the repository at this point in the history
Hint that the path to ts-protoc-gen must be absolute on Windows. Fixes #100
  • Loading branch information
jonnyreeves authored Sep 8, 2018
1 parent 1d7e310 commit 5b06c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ msg.setName("John Doe");
To generate client-side service stubs from your protobuf files you must configure ts-protoc-gen to emit service definitions by passing the `service=true` param to the `--ts_out` flag, eg:

```
# Path to this plugin
# Path to this plugin, Note this must be an abolsute path on Windows (see #15)
PROTOC_GEN_TS_PATH="./node_modules/.bin/protoc-gen-ts"
# Directory to write generated code to (.js and .d.ts files)
Expand Down

0 comments on commit 5b06c73

Please sign in to comment.