Having an issue with SSR #9662
Closed
nibarulabs
started this conversation in
General
Replies: 2 comments 1 reply
-
The error tells you the solution: |
Beta Was this translation helpful? Give feedback.
1 reply
-
Update: apparently by leaving the commented line
in my +layout.svelte was causing this warning/error. Not sure why, but once I removed that, deleted my .svelte-kit folder, and then re-ran, the message is gone. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a sveltekit SPA into an existing api. I can't seem to figure out how to turn ssr off. Gone through the instructions and they're pretty straight forward.
In my src/routes/+layout.svelte I added
but I get an error. This is my relevant vite startup:
These are my package dependencies and versions:
I think I'm up to date and if anyone has any suggestions on what I could try it would be appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions