rsnext/errors/next-head-count-missing.md
Gerald Monaco 04cf779702 Add warning for missing <Head> (#8276)
* Add warning for missing <Head>

* Update the warning to be eliminated away in production

* Update head-manager.js
2019-08-11 22:48:05 -04:00

11 lines
443 B
Markdown

# `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](https://nextjs.org/docs#custom-document).
In this case you are most likely not rendering the `<Head>` component imported from `next/document`.