-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'MethodInfo' of undefined with webpack 5 #1151
Comments
because v1.3.0 Removed |
I see...
How to set protoc not to produce those function when import to commonjs ?
Or it's safe to manually remove them from auto generated file ?
|
@bram-abe Thanks for the report! 😃 I suspect the issue is likely because you're using an old version of (btw i'm curious how are you typically getting your |
aah you're right the Thank You for help |
yw! Great to hear the issue is resolved! 😃 |
Hai,
I'am using protoc to compile .proto to commonjs and works fine.
the problem happen when I'm using webpack 5 with error like this:
the error refer to
auth_grpc_web_pb.js
.How to solve this problem ?
Please advice, thank you
UPDATE:
I fallback to grpc-web v1.2.1 and the error was gone.
but I still dont know why this is happen to grpc-web v1.3.0
The text was updated successfully, but these errors were encountered: