soft-ui-dashboard-react icon indicating copy to clipboard operation
soft-ui-dashboard-react copied to clipboard

[Feature Request] Upgrading dependency

Open cexra opened this issue 3 years ago • 2 comments

What is your enhancement?

first I downloaded the folder containing all the files from github at the following link https://github.com/creativetimofficial/soft-ui-dashboard-react

when I tried npm install. a message appeared unable to resolve dependency tree.

npm ERR! ERESOLVE code
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! When resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.2.0" from root project
npm ERR!
npm ERR! Unable to resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from [email protected]
npm ERR! node_modules/react-chartjs-2
npm ERR! react-chartjs-2@"3.0.4" from the root project
npm ERR!
npm ERR! Fix upstream dependency conflicts, or try again
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept incorrect (and potentially broken) dependency resolution.

this is due to a conflict in the react-chartjs-2 dependency with react 18. please update the dependency. in hopes of fixing the issue.

cexra avatar Feb 01 '23 02:02 cexra

I am facing the same issue now. How did you solve it?

rezaho avatar Feb 10 '23 10:02 rezaho

I am facing the same issue now. How did you solve it?

just like this npm install --force

cexra avatar Feb 11 '23 03:02 cexra