-
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
Cannot convert proto files to js format using pbjs #522
Comments
protobuf.js 6's |
So which versions of Any suggestion to generate javascript files from proto files with version 6 (even it is single file should not be a problem). |
The The I'd recommend that you use protobuf.js 6 with the module.exports = require("protobufjs").Root.fromJSON(%INSERT_GENERATED_JSON_HERE%); (I might even add a quick target for that) |
You can use |
Does |
For static code, use the |
I am trying to convert .proto file to javascript target but I am getting below error :
My protobufjs version is:
protobuf.js v6.0.2 cli
My proto file is below :
Please suggest.
The text was updated successfully, but these errors were encountered: