Skip to content

Conversation

@navarroaxel
Copy link

I getting this error using npm@7 and I tried to fix your package, because your npm works properly with [email protected].

But I'm not sure if this is the best way to declare the peerDep correctly.

npm ERR! Found: [email protected]
npm ERR! node_modules/chartist
npm ERR!   chartist@"^0.11.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer chartist@"^0.10.1" from [email protected]
npm ERR! node_modules/react-chartist
npm ERR!   react-chartist@"0.14.4" 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.

@navarroaxel navarroaxel changed the title Fix installation with react@17 using npm@7 Fix installation with [email protected] using npm@7 Feb 19, 2021
@Georjane
Copy link

Hi @navarroaxel
Please where you able to fix this issue?
I still keep getting this error when I try to run the npm update command on my app

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/chartist
npm ERR!   chartist@"^0.11.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer chartist@"^0.10.1" from [email protected]
npm ERR! node_modules/react-chartist
npm ERR!   react-chartist@"^0.14.4" 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! See /home/jane/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jane/.npm/_logs/2022-01-24T09_47_12_830Z-debug-0.log

@navarroaxel
Copy link
Author

@fraserxu could we resolve this issue?
@Georjane I'm not the maintainers of this package.

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.

2 participants