/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
errors/next-config-error.mdx
18 строк
666 B
Jam Balaya
docs: add and unify notes to error pages (#72838)
19 ноя 2024, 12:44
Не верифицирован
19 ноя 2024, 12:44
6f43529
Код
Авторство
О чём код?
--- title: '`next.config.js` Loading Error' --- ## Why This Error Occurred When attempting to load your `next.config.js` or `next.config.mjs` file, an error occurred. This could be due to a syntax error or attempting to `require`/`import` a module that wasn't available. ## Possible Ways to Fix It See the error message in your terminal where you started `next` to see more context. > **Note**: This config file is not transpiled by Next.js, so only use features supported by your current Node.js version. ## Useful Links - [next.config.js documentation](/docs/pages/api-reference/config/next-config-js) - [Node.js version feature chart](https://node.green/)