fastify / fastify-vite

Fastify plugin for Vite integration.
MIT License
861 stars 72 forks source link

npm ERR! ERESOLVE unable to resolve dependency tree when doing npm install under examples/svelte-hydration #87

Open asuraphel opened 2 years ago

asuraphel commented 2 years ago

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 then npm i.

Expected Behavior

npm i should succeed installing dependencies.

MRsabs commented 5 months ago

I'm having the same issue did you find a solution?

climba03003 commented 5 months ago

I can see that the current repository all using vite@5. Can you update the use the latest code here?