Missing required html tags #64544
-
|
Hi, while rendering the website on localhost:3000, I encountered this message. I attempted to troubleshoot it but hit a dead end. Missing required html tags |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 16 replies
-
|
Show us your root layout code. |
Beta Was this translation helpful? Give feedback.
-
|
Hey, PROJECT STRUCTURE: |
Beta Was this translation helpful? Give feedback.
-
|
Please help me to resolve the error. |
Beta Was this translation helpful? Give feedback.
-
|
I'm getting this error as well whenever I go to a route that doesn't exist (despite having a Versions"next": "15.0.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",Note I am also using sanity: "next-sanity": "^9.8.10",
"sanity": "^3.63.0",App route structure |
Beta Was this translation helpful? Give feedback.
-
|
I encountered the same error in my project and resolved it by deleting the current repository locally and cloning a fresh copy from GitHub. This approach might work for others facing similar issues. I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
I've had the same issue. The problem was with next-intl. I've had a [locale] folder where every other pages was located. When I created a dynamic route I've fix it by updating my middleware. https://next-intl.dev/docs/routing/middleware#matcher-no-prefix Not sure If you all have the next-intl with i18n routing enabled. |
Beta Was this translation helpful? Give feedback.
-
|
I encountered a similar issue myself, and I found that I accidentally removed the Before: After: silly issue, but hopefully this can help. |
Beta Was this translation helpful? Give feedback.










I had missed that you didn't have an
htmltag either, you have to include one, see this example: