rsnext/errors/next-head-count-missing.mdx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
476 B
Text
Raw Normal View History

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