Failed to load next.config.ts
Used in this guide:Next.js 15.5.12
Vercel
Loading...
Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
It could be that your build is crashing because your next.config.ts (or next.config.js) is trying to process a URL that doesn't exist, likely because an environment variable is missing in your Vercel project settings.
The specific error TypeError: Invalid URL with input: 'undefined' usually happens when you use the new URL() constructor or a library that requires a valid string, but it's receiving undefined instead.
example:
Tip: You can also redeploy by clicking the Redeploy button again after making these changes.