root in config
Blancduman opened this issue · 4 comments
Blancduman commented
Hello.
Specifing a path with nesting in root
-> twirp.json
cause error.
Error: Cannot find module 'path\to\protos\node_modules\twirpscript\dist\compiler.js'
It's trying to find compiler.js
in nested path, not in project's nodes_modules
.
Blancduman commented
{
"root": "my/protos",
"dest": "my/api"
}
Blancduman commented
And it's windows case
tatethurston commented
Thanks for reporting @Blancduman I’ll take a look
tatethurston commented
@Blancduman Can you let me know if you still encounter this issue on v0.0.63 https://github.com/tatethurston/TwirpScript/releases/tag/v0.0.63