Open asuraphel opened 2 years ago
3.29.1
3.0.0-beta.24
18.6.0
macOS
12.4
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: vite@2.9.14 npm ERR! node_modules/vite npm ERR! dev vite@"^2.9.9" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^3.0.0" from @sveltejs/vite-plugin-svelte@1.0.1 npm ERR! node_modules/@sveltejs/vite-plugin-svelte npm ERR! dev @sveltejs/vite-plugin-svelte@"^1.0.0-next.44" from the root project npm ERR!
Go to examples//svelte-hydration then npm i.
examples//svelte-hydration
npm i
npm i should succeed installing dependencies.
I'm having the same issue did you find a solution?
I can see that the current repository all using vite@5. Can you update the use the latest code here?
vite@5
Prerequisites
Fastify version
3.29.1
Plugin version
3.0.0-beta.24
Node.js version
18.6.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.4
Description
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: vite@2.9.14 npm ERR! node_modules/vite npm ERR! dev vite@"^2.9.9" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^3.0.0" from @sveltejs/vite-plugin-svelte@1.0.1 npm ERR! node_modules/@sveltejs/vite-plugin-svelte npm ERR! dev @sveltejs/vite-plugin-svelte@"^1.0.0-next.44" from the root project npm ERR!
Steps to Reproduce
Go to
examples//svelte-hydration
thennpm i
.Expected Behavior
npm i
should succeed installing dependencies.