[Bug] unable to resolve dependency tree during the initial npm install
Version
1.0.0
Reproduction link
https://github.com/VictorHenriquez/argon-dashboard-pro-react-nodejs-v1.0.0.git
Operating System
Windows 11
Device
PC
Browser & Version
Chrome V119.0.6045.200
Steps to reproduce
- Step 1: Donwload the project directly by your page.
- Step 2:Unzzip the project
- Step 3:Open the project in to visual code, open the terminal and go to the backend folder.
- Step 4:Run npm install
What is expected?
install all the node libraries listed in the original pro project.
What is actually happening?
npm install 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/mongoose npm ERR! mongoose@"^5.9.9" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer mongoose@"^4.9.0" from [email protected] npm ERR! node_modules/mongoose-unique-validator npm ERR! mongoose-unique-validator@"^1.0.5" 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!
Solution
Additional comments
I´m using node 18.18.2 and I just make the first install. Please I need your help here!!!