rsnext/errors/next-head-count-missing.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

13 lines
476 B
Text

---
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`.