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

Getting Critical dependency: the request of a dependency is an expression in client-side nextjs #470

Open
gyanaranjans opened this issue Aug 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gyanaranjans
Copy link

Import trace for requested module:
./node_modules/webr/dist/webr.cjs

Error: Cannot find module '/Users/gyana/Developer/proj/.next/server/vendor-chunks/webr-worker.js'
 ⨯ uncaughtException: Error: Cannot find module '/Users/gyana/Developer/proj/.next/server/vendor-chunks/webr-worker.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at MessagePort.<anonymous> (node:internal/main/worker_thread:185:26)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:814:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28) {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
@georgestagg georgestagg added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants