Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build getting error #341

Open
Ayupkhan opened this issue Jun 20, 2024 · 3 comments
Open

Build getting error #341

Ayupkhan opened this issue Jun 20, 2024 · 3 comments

Comments

@Ayupkhan
Copy link

I am using angular 14. the charts are working fine earlier. After updating to the new version 1.11.0 of i am getting an error.

  1. If 'apx-chart' is an Angular component and it has 'chart' input, then verify that it is part of this module.
  2. If 'apx-chart' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

10 [chart]="chartOptions.chart"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/marketing/reach/reach.component.ts:15:16

but these properties all there. if anybody facing a similar issue? how can we resolve this?

@DannChang
Copy link

DannChang commented Jun 20, 2024

@Ayupkhan I ran into the same error while building and deploying.

Looks like there are some changes made yesterday in V1.11.0 which caused backwards incompatibility with Angular V14.

Solution: Lock your apexcharts and ng-apexcharts version by removing the ^ in your package.json.

@junedchhipa It is suggested to add a flag for breaking changes for V1.11.0 release.

@tuanmeo01
Copy link

tuanmeo01 commented Jun 24, 2024

i'm facing same issues, i use "ng-apexcharts": "^1.5.3" and when i build that i am getting the same errors. i use angular v14. Any solutions??

i changed "ng-apexcharts": "^1.5.3" to "ng-apexcharts": "1.5.3" in package.json to fixed it

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants