Sveltekit отключите SSR
<script context="module">
export const ssr = false;
</script>
Good Guanaco
<script context="module">
export const ssr = false;
</script>