-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
no css on error page after building #715
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
Comments
EDIT: Nevermind, my bad, guess these fixes haven't been released yet. |
For those who aren't seeing the fixes (this will be obvious to some) make sure to run |
Can confirm that the new release works great |
Rich-Harris
added a commit
that referenced
this issue
Apr 16, 2021
Rich-Harris
pushed a commit
that referenced
this issue
Apr 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The error page doesn't seem to load any CSS or even request it.
Logs
There is no log, it just says route is not found which is expected, though I have a screencast for it.
This first screencast is when running sveltekit on development. The CSS doesn't seem to load initially but it comes back after maybe several ms. It's like vite put the css back (there's a message in the console, though I don't really understand how Vite works)
something.mp4
This second one is after running
svelte-kit build
. The CSS doesn't seem to load at all and there's no network request either.something2.mp4
To Reproduce
I've made a repo to reproduce this issue. https://github.com/elianiva/repro
npm run build
or
npm run dev
Expected behavior
The CSS should be there even if it's a production build
Stacktraces
none
Information about your SvelteKit Installation:
npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers
Mozilla Firefox 88.0b2
adapter-static, but also happen on adapter-vercel
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of SvelteKit entirely?
This is quite annoying because I'd like to have some styling on my error page. I could just redirect to
/
whenever a user hits an invalid route but that doesn't seem right.Note: the more honest and specific you are here the more we will take you seriously.
Additional context
Add any other context about the problem here.
maybe related? #606
Thanks in advance :)
The text was updated successfully, but these errors were encountered: