fusioncharts / angular-fusioncharts

Angular Component for FusionCharts JavaScript Charting Library
https://fusioncharts.github.io/angular-fusioncharts/#/ex1
Other
55 stars 37 forks source link

Not working in angular v10 #104

Open luwei6597 opened 3 years ago

luwei6597 commented 3 years ago

Warning: Entry point '@angular/core' contains deep imports into 'F:/Web/Angular/reporting.pkatalyst/node_modules/angular-fusioncharts/node_modules/rxjs/Observable', 'F:/Web/Angular/reporting.pkatalyst/node_modules/angular-fusioncharts/node_modules/rxjs/observable/merge', 'F:/Web/Angular/reporting.pkatalyst/node_modules/angular-fusioncharts/node_modules/rxjs/operator/share', 'F:/Web/Angular/reporting.pkatalyst/node_modules/angular-fusioncharts/node_modules/rxjs/Subject'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Compiling @angular/core : es2015 as esm2015 Error: Error on worker #1: TypeError: Cannot read property 'fileName' of null at Object.getImportRewriter (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\rendering\utils.js:23:72) at DtsRenderer.renderDtsFile (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:77:72) at F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:69:134 at Map.forEach () at DtsRenderer.renderProgram (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:69:26) at Transformer.transform (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\packages\transformer.js:88:52) at F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\create_compile_function.js:52:42 at F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\worker.js:85:54 at step (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:143:27) at Object.next (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:124:57) at ClusterMaster.onWorkerMessage (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:195:27) at F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:55:95 at ClusterMaster. (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:293:57) at step (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:143:27) at Object.next (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:124:57) at F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:117:75 at new Promise () at Object.__awaiter (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\node_modules\tslib\tslib.js:113:16) at EventEmitter. (F:\Web\Angular\reporting.pkatalyst\node_modules\@angular\compiler-cli\ngcc\src\execution\cluster\master.js:287:32) at EventEmitter.emit (events.js:315:20)

AyanBhadury commented 3 years ago

Please try with angular-fusioncharts : 3.0.4

Vishwas970 commented 3 years ago

Please try with angular-fusioncharts : 3.0.4

Still not working :/

Ishangidwani commented 3 years ago

any update on this ?

AyanBhadury commented 3 years ago

ngCC compilation issue has been fixed, please upgrade to 3.2.0 : http://www.npmjs.com/package/angular-fusioncharts

@Ishangidwani @luwei6597 @Vishwas970