Skip to content

ssr #14928

Answered by dummdidumm
pjebs asked this question in Q&A
ssr #14928
Jan 7, 2025 · 2 comments · 4 replies

You must be logged in to vote

Can you provide a repository? Hard to say what the problem is without seeing the whole picture. Some shots in the dark:

  • make sure you're compiling for the server (generate: 'server' compiler option)
  • make sure whatever environment is responsibly for loading/bundling the code is using the correct export map entry (i.e. if you have import { onMount } from 'svelte' somewhere it should resolve to the server version of that import via the export map)

Replies: 2 comments 4 replies

You must be logged in to vote
1 reply
@dummdidumm

Answer selected by pjebs

You must be logged in to vote
3 replies
@dummdidumm

@dummdidumm

@dummdidumm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14926 on January 07, 2025 12:13.