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

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

Open
VictorHenriquez opened this issue Nov 29, 2023 · 0 comments

Comments

@VictorHenriquez
Copy link

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!!!

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

No branches or pull requests

1 participant