You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which means the methods on PizzaServiceClient will throw:
TypeError: undefined is not a function�[0m
Stack:
at <Jasmine>
at PizzaServiceClient.grpc.unary (node_modules/rules_typescript_proto/test/proto/pizza_service_pb_service.mjs:33:16)
at UserContext.<anonymous> (test/rollup_test.spec.js:33:29)
at <Jasmine>
at processImmediate (internal/timers.js:439:21)
Notably, I added similar test cases to both pizza_service_proto_test.spec.ts and rollup_test.spec.js. Only the latter (//test:rollup_test) failed. So it should be a Rollup.js related issue.
Your Environment
What operating system are you using?
macOS (the issue seems to be platform-independent)
Description
The generated code of target //test:test_es6_bundling fails to resolve grpc-web-client properly.
Errors seen
The generated code of target //test:test_es6_bundling contains a suspecious
undefined()
:which means the methods on
PizzaServiceClient
will throw:Minimal Reproduction
See test cases in #66.
Notably, I added similar test cases to both
pizza_service_proto_test.spec.ts
androllup_test.spec.js
. Only the latter (//test:rollup_test) failed. So it should be a Rollup.js related issue.Your Environment
What operating system are you using?
macOS (the issue seems to be platform-independent)
What version of bazel are you using?
What version of the library are you using?
PR #66, based off recent
master
Any other comments?
Likely related: #64
The text was updated successfully, but these errors were encountered: