Next.js Discord

Discord Forum

Unhelpful dev overlay error

Unanswered
Sam Apostel posted this in #help-forum
Open in Discord
Avatar
I am getting a dev overlay error that just says "Console Error" without any content. There is nothing logged to my browser console nor is there anything logged to my dev server console.

I disabled all of my browser plugins.

I know which block of code triggers this (a polyfill for masonry grids) but even if I put a try catch around that, it never catches anything.

The website seams to work just fine but every time the polyfill runs, it shows the dev overlay "(!) 1 error" pill.

How do I figure out what causes this?

nextjs@15.0.3
app router/client component
Image

2 Replies

Avatar
American Chinchilla
Is this polyfill from a third party
Avatar
no, it's just simply modifying to top margins so that elements flow better