creativetimofficial / ct-paper-dashboard-pro-angular

8 stars 10 forks source link

[Bug] NPM Install with Version 15 of Angular and Angular CLI #46

Open kenytux opened 11 months ago

kenytux commented 11 months ago

Version

1.7.0

Reproduction link

https://github.com/kenytux/temp

Operating System

Ubuntu 22.04

Device

Laptop

Browser & Version

Chrome 117.0.5938.92

Steps to reproduce

npm install -g @angular/cli npm install

What is expected?

Dependencies installed

What is actually happening?

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: paper-dashboard-pro-angular@1.7.0 npm ERR! Found: @angular/common@15.2.9 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"^15.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm ERR! node_modules/@agm/core npm ERR! @agm/core@"1.1.0" 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! /home/kenytux/.npm/_logs/2023-09-27T12_07_49_054Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/kenytux/.npm/_logs/2023-09-27T12_07_49_054Z-debug-0.log


Solution

npm install --legacy-peer-deps

Additional comments