You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this when updating my app's dependencies (notably svelte/sveltekit).
If you look at the reproduction stackblitz, click the "go to page" link, the page loads, and renders, without error, all good. As soon as you then refresh that page, you get a "Uncaught (in promise) HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method." error.
I'm not entirely sure what is causing this. Some observations:
In PageComponent.svelte, the error goes away when you remove either:
The $props() call in the <script></script>
The --input-width style variable that is passed into the Fieldset component
I am able to provide more info and help in any way I can - this bug is currently blocking me deploying the next version of the app.
client.js?v=ea032cef:318 Uncaught (in promise) HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
in PageComponent.svelte
in +page.svelte
in layout.svelte
in root.svelte
NinjaInShade
changed the title
Error when refreshing page under unknown circumstances: "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method."
Error when refreshing page: "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method."
Mar 14, 2025
Describe the bug
I noticed this when updating my app's dependencies (notably svelte/sveltekit).
If you look at the reproduction stackblitz, click the "go to page" link, the page loads, and renders, without error, all good. As soon as you then refresh that page, you get a "Uncaught (in promise) HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method." error.
I'm not entirely sure what is causing this. Some observations:
PageComponent.svelte
, the error goes away when you remove either:$props()
call in the<script></script>
--input-width
style variable that is passed into the Fieldset componentI am able to provide more info and help in any way I can - this bug is currently blocking me deploying the next version of the app.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-scix6sg7?file=src%2Froutes%2F%2Bpage.svelte
Logs
System Info
Severity
blocking an upgrade
Additional Information
This happens both on dev and prod build.
The text was updated successfully, but these errors were encountered: