I created a react project app using the create-react-app CLI and installed dgraph and grpc via yarn add. And I’m currently facing an issue which it says existsSync in not a function. And when I clicked on the error, it brings me to the grpc_extension.js.
Here’s the screenshot to the error: error_image. Hope to hear from you guys soon! Thank you!
Can you share a bit of your code which is causing this error?
I tried out grpc v1.10 for a sample program I have. I was not able to reproduce this issue.
Oh! I just realized. This client is a node.js client and not for JS frontend. This is because of gRPC. It doesn’t support browsers as it’s based on C++ code and HTTP/2.