/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
errors/next-head-count-missing.mdx
13 строк
476 B
Delba de Oliveira
docs: Migrate error messages to MDX and App Router. (#52038)
05 июл 2023, 16:11
Не верифицирован
05 июл 2023, 16:11
44d1a1c
Код
Авторство
О чём код?
--- title: '`next-head-count` is missing' --- ## Why This Error Occurred You have a custom `pages/_document.js` that doesn't have the components required for Next.js to render correctly. ## Possible Ways to Fix It Ensure that your `_document.js` is importing and rendering all of the [required components](/docs/pages/building-your-application/routing/custom-document). In this case you are most likely not rendering the `<Head>` component imported from `next/document`.