Skip to content

Conversation

pedroborges
Copy link

This PR fixes the dependency conflict below when trying to install svelte-transition in a Svelte 5 project.

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: svelte@5.0.0-next.263
npm error node_modules/svelte
npm error   dev svelte@"^5.0.0-next.263" from the root project
npm error
npm error Could not resolve dependency:
npm error peer svelte@"^3.59.1 || ^4.0.0 || ^5.0.0" from svelte-transition@0.0.17
npm error node_modules/svelte-transition
npm error   svelte-transition@"*" 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/pedro/.npm/_logs/2024-10-08T22_01_43_161Z-eresolve-report.txt

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

Successfully merging this pull request may close these issues.

1 participant