Next.js Discord

Discord Forum

Bloom-filters edge error

Answered
Singapura posted this in #help-forum
Open in Discord
SingapuraOP
I am trying to follow the bloom filter example for redirects:
https://github.com/vercel/examples/tree/main/edge-middleware/redirects-bloom-filter

However I am met with the following error:
https://uploads.jurien.dev/Bufeo/zen_WoyiJl1gXU.png

How am I supposed to solve this? Nothing is mentioned in the example to fix the issue.
Answered by Singapura
Fixed by using version 3.0.2 with
unstable_allowDynamic: [
  '/node_modules/lodash/**',
  '/node_modules/reflect-metadata/**'
],
View full answer

1 Reply

SingapuraOP
Fixed by using version 3.0.2 with
unstable_allowDynamic: [
  '/node_modules/lodash/**',
  '/node_modules/reflect-metadata/**'
],
Answer