All my working deployments are failing trying to load next.config.mjs

All my working deployments from all the projects are failing without changing anything in the code. They are all failing with the below error. Is there a cache that needs to be cleared I’m very confused and stuck. please help.

⨯ Failed to load next.config.mjs, see more info here `next.config.js` Loading Error | Next.js

Build error occurred
ReferenceError: Cannot access ‘userConfig’ before initialization
at mergeConfig (next.config.mjs:29:3)
at (next.config.mjs:26:1)
error: script “build” exited with code 1
Error: Command “bun run build” exited with 1


Successful build

Failed build with the exact same code now.

Did you know about these other v0 resources? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

This guide is a great place to start.

And these recordings can give you a look at v0 features and strategies in action: Topics tagged v0

Hi! Same issue here!