-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapter-static still runs ssr in npm run dev #9410
Comments
You'll need to add a
https://kit.svelte.dev/docs/single-page-apps Below is a link to a working example. https://stackblitz.com/edit/github-csyvke?file=src/routes/+layout.js |
I've followed the steps above and added |
This is just an info that |
Describe the bug
Using adapter-static to create an SPA, as per instructions at https://kit.svelte.dev/docs/single-page-apps and https://kit.svelte.dev/docs/single-page-apps#usage gives a message saying ssr compile in progress ...
I would have expected no SSR at all. In this case I'm using indexedDB (via Dexie via RXDB), which throws an error as there is no indexedDB on the server.
Repo created from skeleton template. No server side code at all.
Seems related to issue #9161
Reproduction
https://github.com/ianengelbrecht/svelte-pwa-ktt
Just clone, npm install, npm run dev and you'll see the resulting error in the console.
Logs
No response
System Info
Severity
annoyance
Additional Information
Annoyance as I'm just playing around here to see how things work, but could be more serious if this was a real project.
The text was updated successfully, but these errors were encountered: