Next.js Discord

Discord Forum

Issue After Upgrading from Next.js 15.1.0 to 15.2.0 (ErrorEvent)

Answered
Giant Angora posted this in #help-forum
Open in Discord
Giant AngoraOP
### Environment
- Next.js Version: 15.2.0
- Package Manager: pnpm
- Node.js Version: 23.9.0
- Mode: Dev

### Error Message
After upgrading from Next.js 15.1.0 to 15.2.0, I’m getting this error in the browser console:

⨯ [Error: [object ErrorEvent]] { digest: '1570944375' }

### Full stack trace:
Error: ErrorEvent
    at resolveErrorDev (http://localhost:3000/_next/static/chunks/85435_next_dist_compiled_008d3476._.js:3290:48)
    at processFullStringRow (http://localhost:3000/_next/static/chunks/85435_next_dist_compiled_008d3476._.js:3506:23)
    at processFullBinaryRow (http://localhost:3000/_next/static/chunks/85435_next_dist_compiled_008d3476._.js:3494:9)
    at progress (http://localhost:3000/_next/static/chunks/85435_next_dist_compiled_008d3476._.js:3640:102)


### What I’ve Tried
- Clearing the build cache rm -rf .next
- Forcing dependency reinstall pnpm install --forece
- Checking for middleware issues

### Questions
- Has anyone else faced this issue after upgrading to 15.2.0?
- Could this be related to the new error UI introduced in 15.2?
- Any suggestions on how to debug this further?

Thanks in advance! 🚀
Answered by Giant Angora
I initially thought the ErrorEvent was related to Next.js, but after researching, I discovered that it was actually caused by Drizzle. I had reached the NeonDB dev branch limit, which led to the error occurring at the same time I upgraded Next.js.
View full answer

12 Replies

Black Scoter
Hello
Nice to meet you
I read your issue and I think maybe I can fix it
let's talk about your issue.
Giant AngoraOP
@Black Scoter hi
i got main problem
its not related with nextjs
it was due to 3rd party lib
Black Scoter
OK
regard to you
@Giant Angora it was due to 3rd party lib
If you solved it, share what the problem was just to mark it as the solution.

And ignore Kyle Smith, he’s probs a bot lol
Giant AngoraOP
I initially thought the ErrorEvent was related to Next.js, but after researching, I discovered that it was actually caused by Drizzle. I had reached the NeonDB dev branch limit, which led to the error occurring at the same time I upgraded Next.js.
Answer