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

Dependency tree error when using npm install #307

Open
cadu-leite opened this issue Feb 19, 2025 · 2 comments
Open

Dependency tree error when using npm install #307

cadu-leite opened this issue Feb 19, 2025 · 2 comments

Comments

@cadu-leite
Copy link

npm --version
10.9.0

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/vite
npm error   dev vite@"5.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^3.0.0 || ^4.0.0" from [email protected]
npm error node_modules/vite-plugin-static-copy
npm error   dev vite-plugin-static-copy@"^0.13.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/cadu/.npm/_logs/2025-02-19T19_50_53_423Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/cadu/.npm/_logs/2025-02-19T19_50_53_423Z-debug-0.log
@gwentey
Copy link

gwentey commented Feb 25, 2025

Same issue here ...

@Fharhanamrin
Copy link

please try again
npm install --legacy-peer-deps

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