sveltekit-i18n / lib

Internationalization library built for SvelteKit.
MIT License
447 stars 28 forks source link

Not ready for Svelte 4.0 #113

Closed juanjoseluisgarcia closed 1 year ago

juanjoseluisgarcia commented 1 year ago

This package will not run on Svelte 4.0 and Sveltekit 1.20

jarda-svoboda commented 1 year ago

As a workaround (until the new version of this library is released) you could use --force flag - technically the library works with svelte 4, but its peer dependencies are now limited to version 3..

npm install svelte@4 --force
juanjoseluisgarcia commented 1 year ago

As a workaround (until the new version of this library is released) you could use —force flag - technically the library works with svelte 4, but its peer dependencies are now limited to version 3..

npm install svelte@4 —force

Yes, This is what I have been doing so far. Also every time you upgrade to the latest packages needs the --force flag.