Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
asuraphel opened this issue Jul 27, 2022 · 2 comments

Comments

@asuraphel
Copy link

Prerequisites

  • I have written a descriptive issue title
  • 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: 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
Copy link

MRsabs commented Apr 11, 2024

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

@climba03003
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants