-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
houdini adapter not loading CSS (or any other SSR component for that matter) #629
Comments
Huh, that's strange. Our e2e test work locally and on my machine so I don't think SSR is broken. That being said, the core logic is the same before and after the refactoring so I suspect there is a bug in the windows comparability work that's preventing the plugin from seeing the existing layout file. edit: just saw that link. thanks! i'll take a look now |
I'm on Linux. The e2e test don't include a local app.css file I don't think. |
Okay, thanks for the info. The reason I brought up the windows thing was to explain why the logic changed between |
Ah that makes sense. Thank you so much. Btw I'm about 30% complete with the type generation so should be a few more days. Been really sick tho so idk. |
I have a fix! This was a super subtle issue. Ended up figure out what was happening by sprinkling in a bunch of Thanks for submitting this! |
Describe the bug
Whilst trying to update to 0.17.0 I have a significant bug in which my CSS does not load. After testing both with and without houdini, I have come to the conclusion that it is the houdini adapter that is causing this issue.
I currently have a styles.css in the routes directory of my sveltekit project which contains the necessary tailwind imports to enable tailwind to work. However after upgrading, I received the error that it failed to load modules for ssr. Without houdini installed, the same code works just fine.
I believe that it is because of the rewrite of the adapter. Not sure why this is needed (would love to know), but it worked fine before.
Severity
blocking all usage of Houdini
Steps to Reproduce the Bug
Error:
Bear in mind that if the line in +layout.svelte is switched:
e.g.
The error would say
Meaning that this is a much larger error that just CSS not loading. I believe that anything related to SSR is pretty much broken.
Reproduction
No response
The text was updated successfully, but these errors were encountered: