npm ERR! ERESOLVE unable to resolve dependency tree when doing npm install under examples/svelte-hydration
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the bug has not already been reported
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: [email protected] 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/[email protected] 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 then npm i.
Expected Behavior
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?