Open lixaotec opened 4 years ago
Can you please upgrade apexcharts
to the latest version (3.16.1 as of now) and try again?
Dear @junedchhipa , thanks for the quickly reply.
I just test again with those versions youve mentioned, but ended in the same error.
Is there any workaround, other than I upgrade to ng 7?
Thanks.
@lixaotec, Same here i have installed in angular 6.1.10
Same error while doing production build.
Does it work with latest angular-9x without error ?
Thanks.
It does work with ng 7+
i am also facing the same error with angular v6.1. i'm using latest version of apex charts & ng-apex charts. is there any solution to resolve this.
ive ended upgrading to v8, so no more need this. will let open for others
This error still occurs with version"apexcharts": "^3.19.3", has anyone managed to resolve
Same in "apexcharts": "^3.26.0"
Angular CLI: 6.1.5
Node: 12.16.3
OS: win32 x64
Angular: 6.1.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.7.5
@angular-devkit/build-angular 0.7.5
@angular-devkit/build-optimizer 0.7.5
@angular-devkit/build-webpack 0.7.5
@angular-devkit/core 0.7.5
@angular-devkit/schematics 0.7.5
@angular/cli 6.1.5
@angular/localize 11.2.9
@ngtools/webpack 6.1.5
@schematics/angular 0.7.5
@schematics/update 0.7.5
rxjs 6.0.0
typescript 2.7.2
webpack 4.9.2
edit: If I build without --prod it works
It doesnt work with ng-apexcharts.
But it does work with "ng serve"
npm run-script ng build -- --prod --aot --vendor-chunk --common-chunk --delete-output-path --buildOptimizer --base-href /
ERROR in ./node_modules/ng-apexcharts/fesm5/ng-apexcharts.js Module build failed: Error: Debug Failure. False expression. at Object.assertDefined (\node_modules\@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:4507:13)
angular 6.1.10 "typescript": "^2.8.0", "apexcharts": "~3.11.2", "ng-apexcharts": "~1.2.1",