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

Critical dependency: the request of a dependency is an expression #480

Closed
alxlacayo opened this issue May 20, 2023 · 3 comments
Closed

Critical dependency: the request of a dependency is an expression #480

alxlacayo opened this issue May 20, 2023 · 3 comments

Comments

@alxlacayo
Copy link

I followed the instructions here: https://thegraph.com/docs/en/querying/querying-from-an-application/#graph-client to query the graph from a react application. I am successfully retrieving data however in the console I am getting the following error:

/node_modules/@graphql-mesh/utils/esm/defaultImportFn.js Critical dependency: the request of a dependency is an expression

Anyone know the solution?

@ardatan
Copy link
Member

ardatan commented May 20, 2023

See;
#303

@alxlacayo
Copy link
Author

Thank you. I've ignored the warning via webpack config.

@pugbyte
Copy link

pugbyte commented Jun 28, 2023

Hey @alxlacayo, how did you configure Webpack to ignore this warning?

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

4 participants