ngx-treeview icon indicating copy to clipboard operation
ngx-treeview copied to clipboard

unable to resolve dependency tree

Open waveiron opened this issue 3 years ago • 2 comments

npm install ngx-treeview

Throws:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^11.2.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^10.0.0" from [email protected]
npm ERR! node_modules/ngx-treeview
npm ERR!   ngx-treeview@"*" 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! See /Users/kev/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kev/.npm/_logs/2021-03-11T14_23_10_908Z-debug.log

waveiron avatar Mar 11 '21 14:03 waveiron

Installing it with --force wouldn't yield any downsides though, but i don't recommend it. You also can downgrade to angular 10.x.x to resolve that issue.

luii avatar Mar 14 '21 09:03 luii

Great It worked

surya522 avatar Aug 05 '21 14:08 surya522