Flo0806 / ngx-explorer-dnd

A set of drag & drop directives like a desktop pc explorer
9 stars 0 forks source link

Angular 14 support? #2

Open hreimer opened 1 year ago

hreimer commented 1 year ago

Hi, this library looks great and looks like it could accomplish what I need, but unfortunately with Angular 14 but get this error stack when doing npm install ngx-explorer-dnd:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: iws-ui@3.1.0
npm ERR! Found: @angular/cdk@14.2.7
npm ERR! node_modules/@angular/cdk
npm ERR!   @angular/cdk@"^14.2.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/cdk@"9.1.11" from ngx-explorer-dnd@1.0.0-alpha.11
npm ERR! node_modules/ngx-explorer-dnd
npm ERR!   ngx-explorer-dnd@"*" 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/<...>/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/<...>/.npm/_logs/2023-05-15T07_20_45_854Z-debug-0.log

I saw that you adapted the alpha.11 version to be compatible to Angular 9 in another issue, and I could do a force install, but is it possible to fix this so the npm install process works as expected?

Thanks!

Flo0806 commented 1 year ago

Hi! I will check this.

hreimer commented 1 year ago

@Flo0806 Thanks for looking into this - I tried in the meantime with npm install ngx-explorer-dnd --save --force but there's always a missing /conflicting dependency relating to an Angular 9 package