creativetimofficial / nextjs-argon-dashboard

NextJS version of Argon Dashboard React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Unable to resolve dependency tree

flip-santos opened this issue · comments

Version

1.1.0

Reproduction link

https://github.com/creativetimofficial/nextjs-argon-dashboard

Operating System

Mac OS Ventura 13.4

Device

Macbook Air M1

Browser & Version

114.0.5735.198 (Official Build) (arm64)

Steps to reproduce

  1. Download the repository
  2. Run npm install
  3. See error logs

What is expected?

Is expected that the dependencies are installed without any errors or conflicts.

What is actually happening?

NPM is unable to finish the installation. Here's the logs:

~/nextjs-argon-dashboard $ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: nextjs-argon-dashboard@1.1.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.5.0" from react-datetime@3.0.4
npm ERR! node_modules/react-datetime
npm ERR!   react-datetime@"3.0.4" 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! 
npm ERR! For a full report see:
npm ERR! /***/***/.npm/_logs/2023-07-14T14_30_36_855Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /***/***/.npm/_logs/2023-07-14T14_30_36_855Z-debug-0.log

Solution

Additional comments