Skip to content

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

@VictorHenriquez

Description

@VictorHenriquez

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: nodejs-mongodb-rest-api-login@0.1.0
npm ERR! Found: mongoose@5.13.21
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 mongoose-unique-validator@1.0.6
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!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions