Failed to compile. 'proto' is not defined (also 'COMPILED')
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 802
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
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
...
```
Contributor guide
Assessment
This issue has not been assessed yet.