lyc8503 / UptimeFlare

✔ Free and serverless uptime monitoring / status page on Cloudflare Workers, with Geo-specific checks
Apache License 2.0
1.83k stars 174 forks source link

Error: <Html> should not be imported outside of pages/_document. #77

Open geekyouth opened 2 hours ago

geekyouth commented 2 hours ago
> 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]
lyc8503 commented 2 hours ago

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.