I'm using create-react-app with typescript and grpc-web, grpc & proto generated with command:
$(protoc) -I $(proto_dir) $(proto_dir)/ride.proto --js_out=import_style=commonjs:./rider/typescript/src/proto --grpc-web_out=import_style=commonjs+dts,mode=grpcwebtext:./rider/typescript/src/proto
App is not able to start, it throws tons of errors of form
Failed to compile.
./src/proto/ride_pb.js
Line 37: 'proto' is not defined no-undef
Line 40: 'proto' is not defined no-undef
Line 41: 'COMPILED' is not defined no-undef
Line 42: 'proto' is not defined no-undef
...
I'm using create-react-app with typescript and grpc-web, grpc & proto generated with command:
App is not able to start, it throws tons of errors of form