Known Issues
Build Error with Undici
How to resolve the build error related to Undici when using localhost URLs in production environments.
Build Error with Undici
You may encounter a build error related to Undici when trying to deploy your Next.js application to a production environment. This issue typically occurs when using localhost
URLs in your production configuration.
The Problem
The error message might look something like this: