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.Dismiss alert
It looks like some not-yet-production-ready files from your feat-remove-template-lib branch somehow made it into the published npm package (noticed in 5.1.2).
This breaks ts generation with the error protoc-gen-ts error: TypeError: Cannot read property 'recognized' of undefined because build/lib/template/partial/msg/MessageRender.js contains .replace("#FIELDS#", this.renderFields); which probably should be something like .replace("#FIELDS#", this.renderFields());
It looks like some not-yet-production-ready files from your
feat-remove-template-lib
branch somehow made it into the published npm package (noticed in5.1.2
).This breaks ts generation with the error
protoc-gen-ts error: TypeError: Cannot read property 'recognized' of undefined
becausebuild/lib/template/partial/msg/MessageRender.js
contains.replace("#FIELDS#", this.renderFields);
which probably should be something like.replace("#FIELDS#", this.renderFields());
I tried with your examples to see if I maybe got something backwards, but saw the same error.
Diffing the
master
source https://github.com/agreatfool/grpc_tools_node_protoc_ts/tree/v5.1.2 vs. the node module (for example):git diff --no-index ../build/index.js ./node_modules/grpc_tools_node_protoc_ts/build/index.js
The text was updated successfully, but these errors were encountered: