Next.js
Next.js root layout is missing html or body tags
Next.js found a root layout that does not include the required html and body tags, which are mandatory in the App Router root layout.
Next.js
Next.js found a root layout that does not include the required html and body tags, which are mandatory in the App Router root layout.
Observed message
Missing Root Layout tags
Why it happens
How to fix it
Official reference
Next.js Docs: Missing Root Layout tagsRelated errors
Explore more