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

Warning: "Critical dependency: the request of a dependency is an expression" #41

Open
wildeyes opened this issue Jul 11, 2023 · 0 comments

Comments

@wildeyes
Copy link

Using latest nextjs, I'm getting Critical dependency: the request of a dependency is an expression

> next build

- warn You have enabled experimental features (outputFileTracingRoot, scrollRestoration) in next.config.js.
- warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

- warn Compiled with warnings

../../../node_modules/.pnpm/web-worker@1.2.0/node_modules/web-worker/cjs/node.js
Critical dependency: the request of a dependency is an expression

I'm not yet knowledgable enough about ESM modules and their handling, but will hop by to report if I manage to solve this.

Cheerio

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

1 participant