Open utsavkapoor opened 3 years ago
version 6.8.8 same issue can be successfully compiled only with nodejs 10.16
Same with latest version 6.11.2 on node v12.18.3. Error does not occur on node v14.8.0
@4eb0da has a workaround here: https://github.com/markedjs/marked/issues/2106#issuecomment-862226884
protobuf.js version: 6.8.3
Protobufjs CLI compilation is broken due a version bump in marked.js which is now incompatible with node version <=14. marked.js has started using optional chaining in their code thus breaking protobuf CLI compilation