Skip to content
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

./node_modules/@grpc/grpc-js/build/src/server.js Module not found: Can't resolve 'http2' in 'node_modules/@grpc/grpc-js/build/src' #164

Open
saiprakash-v opened this issue May 5, 2022 · 1 comment

Comments

@saiprakash-v
Copy link

saiprakash-v commented May 5, 2022

etcd3 has @grpc/grpc-js as a dependency. When etcd3 has been added as a dependency and used in a react application and ran npm start I'm getting the error mentioned in title

node version: 16.13.2

http2 declared here doesn't seem to be working
WhatsApp Image 2022-05-05 at 3 56 51 PM

Although I see that grpc-js package.json has @types/node as a dependency in which http2 module is exported, it seem to not pick it up (assuming it has to pick from here. Correct if not)
WhatsApp Image 2022-05-05 at 3 57 15 PM
Screenshot from 2022-05-05 15-53-19

Need help with resolving this issue

TIA

@jizezhang
Copy link

Hello, I am facing the same issue. Were you able to resolve this? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants