Trying to use google protocol buffer in my node.js web server with this documentation .
When running the following command:
protoc --js_out=import_style=commonjs,binary: ServiceMessage.proto
I received:
--js_out: : Unknown option: import_style
Any suggestions?
Cheers, Itay
根据此讨论行 , js_out
是最近添加的,并于2月20日合并,您可以使用protobuf的最新代码更新协议。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.