skip to Main Content

generating proto file for reactjs with protoc command show error: 'protoc-gen-js' is not recognized

i want generate a proto file for reactjs this is the commands I tested: protoc --js_out=import_style=commonjs,binary:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:. *.proto protoc -I=. ./data.proto --js_out=import_style=commonjs,binary:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:. and I get below error: 'protoc-gen-js' is not recognized as an internal or external command, operable program…

VIEW QUESTION
Back To Top
Search