rsnext/errors/empty-configuration.mdx
Delba de Oliveira 44d1a1cb15
docs: Migrate error messages to MDX and App Router. (#52038)
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00

21 lines
433 B
Text

---
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 */
}
```
## Useful Links
- [Introduction to next.config.js](/docs/pages/api-reference/next-config-js)