New Next.js runtime causing intermittent 404 on bundles

I’m reporting a problem with the new Next.js runtime (v5) that is being automatically rolled out.

Site: https://sage-marzipan-7a2391.netlify.app/

Once the runtime rolled out we were facing a series of intermittent errors on non-SSG pages that seemed to be caused perhaps by incorrect bundle references as the JS bundle requests were all returning 404s when the issues were occurring.

Pinning the runtime to v4 solved the problem with no other actions.

There were no build errors.

Node 20
Next.js 14

I don’t need a fix, I’m just reporting it in the hope that it helps and can be addressed over time, we probably shouldn’t stay pinned to v4 forever.

@darvanen It sounds like it’s related to reports of similar in this thread:

1 Like

Looks like on that ticket there was a fix pushed just a day after we gave up and pinned the version. I’ll mark this solved once I’ve tested that out. Might take a while.