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

Fix installation with chartist@0.11 using npm@7 #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

navarroaxel
Copy link

I getting this error using npm@7 and I tried to fix your package, because your npm works properly with chartist@0.11.

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

npm ERR! Found: chartist@0.11.4
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 react-chartist@0.14.4
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 chartist@0.11 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: material-dashboard-react@1.10.0
npm ERR! Found: chartist@0.11.4
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 react-chartist@0.14.4
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.

None yet

2 participants