-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
This is the error:
Creating an optimized production build ...
Failed to compile.
./node_modules\mongoose\dist\browser.umd.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules\mongoose\dist\browser.umd.js
./lib\db.ts
./auth.ts
./middleware.ts
Build failed because of webpack errors
Metadata
Metadata
Assignees
Labels
No labels