Replies: 2 comments 4 replies
-
You may have seen it, but this is the PR where this error was introduced: #9590. It was intended to catch invalid cases like having both a If that isn't the case for your project, then a minimal reproducible would be appreciated if you have time -- if you only have a single |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add a quick note. I am also facing a similar issue. Apparently, there is some problem between the houdini plugin and latest @sveltejs/kit (worked fine in 1.15.0, but fails in 1.15.7) Here's a stackblitz for example: https://stackblitz.com/edit/sveltejs-kit-template-default-jjttza |
Beta Was this translation helpful? Give feedback.
-
I wanted to file a bug report but I do not have enough information to provide a reproduction (and no time to do so) right now.
I also feel like, I might not fully understand what the new change (check) is actually doing behind the scenes as to mark it
as a bug right now.
My question is:
When I have a previously fully working project with only one +layout.svelte file in the src/routes/ folder, is sveltekit then supposed to error out with the message:
Multiple universal layout module files found in src/routes/ : +layout.js and +layout.js
I would understand, if I were clearly using multiple +layout files but I am not and also not importing any other layout files in the +layout.svelte.
Otherwise I am not aware of any module that might load anything like an additional layout file which might be conflicting here...if that is a possibility.
Maybe somebody has any insights in this or faced the same problem after updating to sveltekit version 1.15.5.
I would be glad for more information on how the new check functions, what might be triggering this message.
Additionally: I just tried to build the project to look into the built artifacts for any multiple layout files probably generated but the build also errors before any files are generated with the same error message.
Beta Was this translation helpful? Give feedback.
All reactions