soft-ui-dashboard-react
soft-ui-dashboard-react copied to clipboard
[Feature Request] Upgrading dependency
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.
I am facing the same issue now. How did you solve it?
I am facing the same issue now. How did you solve it?
just like this
npm install --force