Install error with Svelte 4
sebastianwestberg opened this issue · comments
Hi there!
When installing svelte-lazy, I get the following error:
15:51:55.854 | npm ERR! code ERESOLVE
-- | --
15:51:55.857 | npm ERR! ERESOLVE could not resolve
15:51:55.858 | npm ERR!
15:51:55.858 | npm ERR! While resolving: svelte-lazy@1.2.1
15:51:55.858 | npm ERR! Found: svelte@4.0.5
15:51:55.858 | npm ERR! node_modules/svelte
15:51:55.858 | npm ERR! dev svelte@"^4.0.5" from the root project
15:51:55.859 | npm ERR! peer svelte@"^3.54.0 \|\| ^4.0.0-next.0" from @sveltejs/kit@1.22.3
15:51:55.859 | npm ERR! node_modules/@sveltejs/kit
15:51:55.859 | npm ERR! dev @sveltejs/kit@"^1.20.4" from the root project
15:51:55.859 | npm ERR! peer @sveltejs/kit@"^1.0.0" from @sveltejs/adapter-auto@2.1.0
15:51:55.859 | npm ERR! node_modules/@sveltejs/adapter-auto
15:51:55.859 | npm ERR! dev @sveltejs/adapter-auto@"^2.0.0" from the root project
15:51:55.859 | npm ERR! 2 more (@sveltejs/adapter-cloudflare, @sveltejs/adapter-static)
15:51:55.860 | npm ERR! 7 more (@sveltejs/vite-plugin-svelte, ...)
15:51:55.860 | npm ERR!
15:51:55.860 | npm ERR! Could not resolve dependency:
15:51:55.860 | npm ERR! peer svelte@"3.x" from svelte-lazy@1.2.1
15:51:55.860 | npm ERR! node_modules/svelte-lazy
15:51:55.860 | npm ERR! svelte-lazy@"^1.2.1" from the root project
Any ideas?