Weird Svelte SSR validation errors #11073
-
I get a bunch of weird
However, I do not see any place where I have a header inside a p, or a h1 inside a p in my code. I also checked the browser source code with ctrl-u (not through dev inspector) and there is also nothing of that sort visible. Is there any way to identify exactly where this issue comes from? I have the slight suspicion that the message is a false positive. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Check that SK is up to date, else you can open dev tools > inspector > right click on body then "copy outer HTML", you should be able to paste your markup and check if something looks like your message. If not try to write a minimal reproduction and create an issue. |
Beta Was this translation helpful? Give feedback.
-
Delete your .svelte-kit folder and restart the dev server. I've had this issue before too, I couldn't find any error at all (because there was none). |
Beta Was this translation helpful? Give feedback.
Delete your .svelte-kit folder and restart the dev server. I've had this issue before too, I couldn't find any error at all (because there was none).