Can't update vite-plugin-svelte and vite to latest versions
#13415
Answered
by
benmccann
orangecoloured
asked this question in
Q&A
|
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. |
Answered by
benmccann
Feb 12, 2025
Replies: 2 comments 9 replies
|
Try blowing away your |
9 replies
|
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's showing
@sveltejs/vite-plugin-svelte4.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.