You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 3.0.4 from 3.0.2, the build fails with the following error:
Failed to compile.
./middleware.ts
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
The error was caused by importing 'bloom-filters/dist/api.js' in './middleware.ts'.
Import trace for requested module:
./middleware.ts
Versions
Next.js: 14.2.13
Node: 22.12
The text was updated successfully, but these errors were encountered:
Thank you for the report. Do you have other information about the error? A specific package identified as the root cause of the problem?
We updated 2 dependencies since 3.0.2 but also there are a few other sub-dependencies that have been updated in the yarn.lock. Maybe one of them is now using some wasm now.
Bug report
After upgrading to 3.0.4 from 3.0.2, the build fails with the following error:
Versions
Next.js: 14.2.13
Node: 22.12
The text was updated successfully, but these errors were encountered: