empty-configuration.mdx


title: 'Detected next.config.js, no exported configuration found'

Why This Warning Occurred

There is no object exported from next.config.js or the object is empty.

Possible Ways to Fix It

Check if you correctly export configuration in next.config.js file:

module.exports = {
  /* config options here */
}

Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.

errors/empty-configuration.mdx · vercel/next.js | Docs MD