Svelte 4 unmet peer dependency warning #331
-
When I run How do I resolve? Sorry if this is obvious! (without updating my whole project to Svelte 5!) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @mrankine thanks for reaching out, you can either drop to version pnpm add -D @svelte-put/shortcut@^3.0.0 By the way, I just updated Svelte v4 docs with the compatible version in the installation guide. As Svelte 5 is pretty much backwards compatible, I hope you have a chance to migrate soon. The migration should be incremental: https://svelte.dev/docs/svelte/v5-migration-guide. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Many thanks for the quick answer! |
Beta Was this translation helpful? Give feedback.
Hi @mrankine thanks for reaching out, you can either drop to version
^3.0.0
for@svelte-put/shortcut
in yourpackage.json
, or remove and install again with a version specifier as below:By the way, I just updated Svelte v4 docs with the compatible version in the installation guide.
As Svelte 5 is pretty much backwards compatible, I hope you have a chance to migrate soon. The migration should be incremental: https://svelte.dev/docs/svelte/v5-migration-guide.
Cheers!