

% make
protoc -I=. grpc.proto \
--js_out=import_style=commonjs,binary:./pkg \
--plugin=protoc-gen-ts=/Users/gert/node/bin/protoc-gen-ts \
--ts_out=service=true:./src
% tsc
src/grpc_pb_service.d.ts(5,20): error TS2307: Cannot find module 'grpc-web-client'.
% npm list --depth=0
[email protected] /Users/gert/go/src/bitbucket.org/gertcuykens/lib/ts
├── @types/[email protected]
├── [email protected]
└── [email protected]
%
grpc-web-client doesn't seem to be able to be found.
Also note that the npm -i grpc-web-client version seem to be out of sync with master 0.6.0
Their is also a version mismatch between "@types/google-protobuf": "^3.2.5" and "google-protobuf": "^3.2.0" in package json
This looks like an environment problem, and this isn't the forum for debugging this kind of thing. Please join the slack channel (or any TypeScript debugging forum) for help in getting your environment set up correctly.
Had similar problem, yarn did not upgrade my ts-protoc-gen correctly. Make sure you have latest version if you get similar error