apexcharts / ng-apexcharts

ng-apexcharts is an implementation of apexcharts for angular. It comes with one simple component that enables you to use apexcharts in an angular project.
MIT License
310 stars 78 forks source link

npm Error "@angular/common@">=9.0.0 <13.0.0" from ng-apexcharts@1.6.0" #316

Open desarrolloebisum opened 3 months ago

desarrolloebisum commented 3 months ago

Hi, I'm trying to migrate myproject's version from Angular 12 to Angular 15, ( now I'm using Angular 14 ) now I'm using Angular 14 but apexcharts returns version errors. I'm in 18.13 node version because is the min version to update to Angular 15, If I use 16.13 the isn't errors

Could you help me to find a solution? Thanks!

❯ npm install apexcharts ng-apexcharts --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ebisum@1.0.5
npm ERR! Found: @angular/common@14.3.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"14.3.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">=9.0.0 <13.0.0" from ng-apexcharts@1.6.0
npm ERR! node_modules/ng-apexcharts
npm ERR!   ng-apexcharts@"~1.6.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!