argon-dashboard-react-nodejs icon indicating copy to clipboard operation
argon-dashboard-react-nodejs copied to clipboard

[Bug] unable to resolve dependency tree during the initial npm install

Open VictorHenriquez opened this issue 2 years ago • 0 comments

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

  1. Step 1: Donwload the project directly by your page.
  2. Step 2:Unzzip the project
  3. Step 3:Open the project in to visual code, open the terminal and go to the backend folder.
  4. 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!!!

VictorHenriquez avatar Nov 29 '23 21:11 VictorHenriquez