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

Unable to resolve dependency tree #12

Open
monolithed opened this issue Dec 9, 2023 · 3 comments
Open

Unable to resolve dependency tree #12

monolithed opened this issue Dec 9, 2023 · 3 comments

Comments

@monolithed
Copy link

monolithed commented Dec 9, 2023

➜ npm install strapi-auto-uuid
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/styled-components
npm ERR!   styled-components@"5.3.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer styled-components@"5.3.10" from [email protected]
npm ERR! node_modules/strapi-auto-uuid
npm ERR!   strapi-auto-uuid@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/monolithed/.npm/_logs/2023-12-09T20_31_40_841Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/monolithed/.npm/_logs/2023-12-09T20_31_40_841Z-debug-0.log

➜ npm -v
10.1.0

➜ node -v
v20.9.0

@weicheng-one
Copy link

same issue

@begservice
Copy link

use node 18. the owner of this repository is not active anymore

@marketsystems
Copy link

get a different dependency error after upgrading to strapi 4.16.2.
Have fixed strapi-auto-uuid by changing package peer dependency from "5.3.10" to "^5.3.10" and published to npm registry

npm i strapi-auto-uuid-fixed

Found: [email protected]
npm ERR! node_modules/styled-components
npm ERR! styled-components@"^5.3.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer styled-components@"5.3.10" from [email protected]
npm ERR! node_modules/strapi-auto-uuid
npm ERR! strapi-auto-uuid@"*" from the root project

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

4 participants