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
Uncaught (in promise) Svelte error: svelte_component_invalid_this_value
The `this={...}` property of a `<svelte:component>` must be a Svelte component, if defined
The error started appearing in 5.0.0-next.179. Changing the version to 5.0.0-next.178 makes it work again, also disabling SSR makes it work.
(in browser)
Uncaught (in promise) Svelte error: svelte_component_invalid_this_value
The `this={...}` property of a `<svelte:component>` must be a Svelte component, if defined
at svelte_component_invalid_this_value (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:196:19)
at Module.validate_dynamic_component (http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:2785:7)
at http://localhost:5174/@fs/C:/Github/repros/svelte-inlang-repro/.svelte-kit/generated/root.svelte:84:11
at http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:949:30
at update_reaction (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1038:23)
at update_effect (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1156:21)
at create_effect (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:274:7)
at branch (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:396:10)
at http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:949:17
at update_reaction (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1038:23)Svelte error: svelte_component_invalid_this_value
The `this={...}` property of a `<svelte:component>` must be a Svelte component, if defined
at svelte_component_invalid_this_value (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:196:19)
at Module.validate_dynamic_component (http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:2785:7)
at http://localhost:5174/@fs/C:/Github/repros/svelte-inlang-repro/.svelte-kit/generated/root.svelte:84:11
at http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:949:30
at update_reaction (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1038:23)
at update_effect (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1156:21)
at create_effect (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:274:7)
at branch (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:396:10)
at http://localhost:5174/node_modules/.vite/deps/chunk-ZVJJQCF7.js?v=bc39b3ac:949:17
at update_reaction (http://localhost:5174/node_modules/.vite/deps/chunk-2WU4MH3N.js?v=bc39b3ac:1038:23)
The head hydration anchor didn't update after hydrating the contents of one `<svelte:head>` element, which meant subsequent `<svelte:head>` elements would always start at the beginning of the head. This PR fixes that. The test was updated such that the shape of each `<svelte:head>` content is sufficiently different to throw an error if this wasn't fixed.
fixes#12458
The head hydration anchor didn't update after hydrating the contents of one `<svelte:head>` element, which meant subsequent `<svelte:head>` elements would always start at the beginning of the head. This PR fixes that. The test was updated such that the shape of each `<svelte:head>` content is sufficiently different to throw an error if this wasn't fixed.
fixes#12458
Describe the bug
Svelte 5: using inlang Paraglide JS message in svelte:head meta description tag causes error in SSR.
Eg. this:
The error is the following:
The error started appearing in
5.0.0-next.179
. Changing the version to5.0.0-next.178
makes it work again, also disabling SSR makes it work.Reproduction
Paraglide doesn't run on Stackblitz so the repro needs to be cloned.
Repro: https://github.com/henrikvilhelmberglund/svelte-inlang-repro
Working: Change branch to
working
or just install5.0.0-next.178
.Logs
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: