Hello team,
I have installed Canvasjs-Charts Angular.. When i import the CanvasJSAngularChartsModule in my module, it is throwing following errors.. Tried of many google solutions, including delete and reinstall of node modules. But didn’t help.
Can you please let us know the fix. Waiting for the valuable reply.
Thanks in advance.
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 71:10-28
“export ‘ɵɵFactoryTarget’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 136:10-28
“export ‘ɵɵFactoryTarget’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 100:0-27
“export ‘ɵɵngDeclareClassMetadata’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 154:0-27
“export ‘ɵɵngDeclareClassMetadata’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 65:21-42
“export ‘ɵɵngDeclareFactory’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 130:35-56
“export ‘ɵɵngDeclareFactory’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 147:35-57
“export ‘ɵɵngDeclareInjector’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js 138:35-57
“export ‘ɵɵngDeclareNgModule’ (imported as ‘i0’) was not found in ‘@angular/core’
Error: ./node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js
Module not found: Error: Can’t resolve ‘@canvasjs/charts’ in ‘D:\Trees\BEE\ce-customer\node_modules\@canvasjs\angular-charts\fesm2015’
Regards
Suraj