Skip to content

[BUG] Vite plugin doesn't work with latest vite or svelte version. #25

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

Open
Konixy opened this issue May 2, 2025 · 3 comments · May be fixed by #26
Open

[BUG] Vite plugin doesn't work with latest vite or svelte version. #25

Konixy opened this issue May 2, 2025 · 3 comments · May be fixed by #26
Assignees

Comments

@Konixy
Copy link

Konixy commented May 2, 2025

I recently updated a bunch of packages (don't know which package nor which version), but since, the vite plugin throws an error telling me that the Head component is missing.

After 4hrs of debugging, I discovered that in this line, is checking for children: ( but in the input code, the children isn't in parentheses. So I fixed the code by removing this parenthesis, and it works all like before.

Tell my if you can reproduce with the latest version of vite, svelte, and sveltekit (don't know which one is causing the problem)

Created #26 that solves the problem

@Konixy Konixy linked a pull request May 2, 2025 that will close this issue
@steveninety steveninety self-assigned this May 2, 2025
@steveninety
Copy link
Owner

Thanks for pointing this out, I will try to take a look this weekend.

@eXodes
Copy link

eXodes commented May 3, 2025

I have this same issue when upgrading my dependencies as well. I also checked the solution provided by @Konixy PR and it seems to be working as well.

Hopefully this will be resolved soon. Thanks.

@Konixy
Copy link
Author

Konixy commented May 7, 2025

I would like to add that I can only reproduce on my macbook, it works perfectly fine on my arch linux machine even with the latest packages.

This is very strange...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants