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
330 stars 81 forks source link

Does not install on angular 19 #371

Closed ranashahan closed 6 days ago

ranashahan commented 1 week ago

While installing npm i ng-apexcharts it I got the following error

npm error Found: @angular/common@19.0.0 npm error node_modules/@angular/common npm error @angular/common@"^19.0.0" from the root project npm error npm error Could not resolve dependency: npm error peer @angular/common@"^18.0.4" from ng-apexcharts@1.13.0 npm error node_modules/ng-apexcharts npm error ng-apexcharts@"*" from the root project

Sergi0Martin commented 1 week ago

Same here, after migrate my project to angular 19 I got this error. It is planed the compatibility upgrade?

junedchhipa commented 6 days ago

Please try ng-apexcharts@1.15.0 and report here if it worked

ducanhtk5 commented 6 days ago

Please try ng-apexcharts@1.15.0 and report here if it worked

I received error: [ERROR] File 'node_modules\ng-apexcharts\src\lib\chart\chart.component.ts' is missing from the TypeScript compilation.

damingerdai commented 6 days ago

please try to use ngx-apexcharts as temp solution

ranashahan commented 6 days ago

It worked on V1.15.0 on the Angular 19 project, Awesome and very efficient support & fixing.. Thank you @junedchhipa @damingerdai .

npm i ng-apexcharts

added 1 package, and audited 983 packages in 4s

155 packages are looking for funding run npm fund for details

found 0 vulnerabilities