> next dev
▲ Next.js 13.5.4
- Local: http://localhost:3000
✓ Ready in 4.6s
✓ Compiled /middleware in 143ms (55 modules)
⚠ You are using an experimental edge runtime, the API might change.
✓ Compiled / in 2.1s (1782 modules)
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
Hi, can you provide more context? For example the context in which you are experiencing the problem. I may follow up by adding a developer document that explains in detail how to set up a development environment.