fastify-vite icon indicating copy to clipboard operation
fastify-vite copied to clipboard

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

Open asuraphel opened this issue 3 years ago • 2 comments

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.

asuraphel avatar Jul 27 '22 15:07 asuraphel

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

MRsabs avatar Apr 11 '24 08:04 MRsabs

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

climba03003 avatar Apr 11 '24 08:04 climba03003