Having an issue with SSR #9662
Closed
nibarulabs
started this conversation in
General
Replies: 3 comments 1 reply
|
The error tells you the solution: |
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. |
0 replies
|
I ran into the same issue — it turned out the build was triggered just because of a comment in +page.svelte that mentioned "trailingSlash". Removing the comment fixed it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions