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
319 stars 79 forks source link

Unknown error when using ng-apexcharts in Angular 14 project #279

Open damon122 opened 1 year ago

damon122 commented 1 year ago

I'm trying to use the apexcharts feature in my Angular 14 project. I installed the latest apexcharts and ng-apexcharts in my Angular 14 project. But I got the compile error and cannot move forward.

image

"apexcharts": "^3.40.0", "ng-apexcharts": "^1.7.6",

Please let me know!

hanatharesh2712 commented 1 year ago

I am facing exactly the same error when I upgraded the node version from 14.17 to 16.20.

hanatharesh2712 commented 1 year ago

temporary workaround is - https://github.com/apexcharts/ng-apexcharts/issues/189#issuecomment-1029706195

Suryaprasath1996 commented 1 year ago

I think this will help https://github.com/apexcharts/ng-apexcharts/issues/280#issuecomment-1666685212

jeferson-menezes commented 1 year ago

Had the same error here when upgrading angular 13 to 14. Version ng-apexcharts@1.7.6 or higher the same error happens: It worked by returning the version to: ng-apexcharts@1.7.5 apexcharts@3.40

dfusic commented 1 year ago

Works okay if using

"ng-apexcharts": "1.6.0",
"apexcharts": "3.33.0",

Workaround would be to upgrade to Angular 15.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.