Skip to content
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

11:03:30 PM [vite-plugin-svelte] WARNING: The following packages use a svelte resolve configuration in package.json that has conflicting results and is going to cause problems future. [email protected] Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#conflicts-in-svelte-resolve for details. #562

Open
vlrevolution opened this issue Apr 21, 2024 · 9 comments
Labels
question Further information is requested

Comments

@vlrevolution
Copy link

Getting a warning:
11:03:30 PM [vite-plugin-svelte] WARNING: The following packages use a svelte resolve configuration in package.json that has conflicting results and is going to cause problems future.

[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#conflicts-in-svelte-resolve for details.

is it fixable?

@EliWimmer
Copy link

Guessing you're using Svelte 5?

@trasherdk
Copy link

I get a warning, saying I have a resolve problem.

Can you please read the documentation, and fix my problem?

No, I can't share any configuration or package.json to help narrow the problem down.

@isaacHagoel
Copy link
Owner

@vlrevolution can you please provide a way to reproduce this error?

@Miniontoby
Copy link

Miniontoby commented May 29, 2024

I also get this warning.

This particular warning is only present in vite-plugin-svelte@2.
So the easiest way to avoid the warning is to upgrade to vite-plugin-svelte@3.

And if you don't have vite-plugin-svelte installed directly,
then check if you have @sveltejs/kit installed and update that to version 2.

@isaacHagoel
Copy link
Owner

isaacHagoel commented May 29, 2024 via email

@Miniontoby
Copy link

Miniontoby commented May 29, 2024

Oke here is some information about the warning:

This particular warning had been added in 510 and then removed again in 747 it is only present in vite-plugin-svelte@2. So the easiest way for you to avoid it is to upgrade to vite-plugin-svelte@3.

Seems like we should just upgrade to vite-plugin-svelte@3 on our own projects/packages!

P.s. if you don't have that installed, then it might be @sveltejs/kit that needs to be updated to version 2!

@isaacHagoel
Copy link
Owner

@Miniontoby thanks for investigating this. I am not sure if I need to do something about this or not 😅

@Miniontoby
Copy link

@Miniontoby thanks for investigating this. I am not sure if I need to do something about this or not 😅

Yeah, you don't have to do anything here. People who get this error just need to update their packages!

I will remove my other comments, to avoid more confusion for others, you may also remove the ones that you posted after my initial comment

@isaacHagoel
Copy link
Owner

Thanks. Done

@isaacHagoel isaacHagoel added the question Further information is requested label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants