Can't update vite-plugin-svelte
and vite
to latest versions
#13415
-
Currently the latest installed package versions are as follows
The latest are
But I can't update them, getting these errors
And no matter how I experiment with the version numbers I still get deps version related errors. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Try blowing away your |
Beta Was this translation helpful? Give feedback.
-
Im seeing this with vite 7, when i run dev i see: Which i get on a new project using adapter auto, this then leads to cloudflare failing, tried switching to the cloudflare adapter but similar issue, have rolled back to vite 6 for now It looks like its a peer dep range that needs updating in the svelte vite plugin |
Beta Was this translation helpful? Give feedback.
It's showing
@sveltejs/vite-plugin-svelte
4.0.4 in the error message even though you said you upgraded it to v5. You can open up the lockfile and look through it to see what is depending on 4.0.4. I'd also recommend using a^
in front of the vite-plugin-svelte version.