-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
$protobuf.Root is not a constructor #860
Comments
Yes, this is due to a wrong dependency on the minimal library as described in the issues linked by eventualbuddha. There are no specific CLI tests currently, apart from that the CLI is run programmatically to generate part of the tests. |
Should be fixed by #864 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
protobuf.js version: 6.8.0
Executing
./node_modules/protobufjs/bin/pbjs --keep-case -t json-module -w commonjs -o pb.node.js api.proto
generates apb.node.js
file that usesprotobufjs/minimal
package. However, this causes the following errorIf I changed the package to use "protobufjs/light" or "protobufjs", the error goes away
The text was updated successfully, but these errors were encountered: