fusioncharts / angular-fusioncharts

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

the issue comes while compile the application after migrate 4 to 11. #129

Open Gayudhaya opened 2 years ago

Gayudhaya commented 2 years ago

An unhandled exception occurred: Cannot read property 'fileName' of null . { "name": "my-app", "version": "2.1.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^11.2.14", "@angular/common": "^11.2.14", "@angular/compiler": "^11.2.14", "@angular/core": "^11.2.14", "@angular/forms": "^11.2.14", "@angular/localize": "^11.2.14", "@angular/platform-browser": "^11.2.14", "@angular/platform-browser-dynamic": "^11.2.14", "@angular/router": "^11.2.14", "@ng-bootstrap/ng-bootstrap": "^6.1.10", "@ng-idle/core": "^6.0.0-beta.5", "@ng-idle/keepalive": "^6.0.0-beta.5", "angular2-datatable": "^0.6.0", "angular2-emoji": "^0.1.6", "angular2-google-maps": "^0.17.0", "angular2-moment": "^1.9.0", "angular2-multiselect-checkbox-dropdown": "^1.5.0", "angular2-select": "^1.0.0-beta.3", "angular4-files-upload": "^1.0.2", "bootstrap": "^3.4.1", "core-js": "^2.6.12", "cors": "^2.8.5", "file-saver": "^1.3.8", "filename-regex": "^2.0.1", "fileset": "^2.0.3", "font-awesome": "^4.7.0", "ionic-img-viewer": "^2.9.0", "jquery": "^3.6.0", "ng-click-outside": "^9.0.0", "ng-pdf-make": "0.0.2", "ng2-bootstrap-modal": "^1.0.1", "ng2-eonasdan-datetimepicker": "^0.1.3", "ng2-go-top-button": "^6.0.0", "ng2-google-charts": "^3.5.0", "ng2-google-place-autocomplete": "^1.4.2", "ng2-img-cropper": "^0.9.0", "ng2-nouislider": "^1.7.6", "ng2-password-strength-bar": "^1.2.5", "ng2-pdf-viewer": "^3.0.8", "ng2-scroll-to": "^1.0.7", "ng2-social-share": "0.0.10", "ng2-zoomable": "^0.1.1", "ng4-auto-complete": "^1.0.0", "ng4-geoautocomplete": "^0.1.0", "ng4-loading-spinner": "^1.1.1", "ngx-bootstrap": "^6.1.10", "ngx-inactivity": "^1.0.1", "ngx-infinite-scroll": "^10.0.1", "ngx-loading": "^1.0.9", "ngx-mydatepicker": "^2.4.8", "ngx-popover": "0.0.16", "ngx-sortablejs": "^11.1.0", "ngx-toastr": "^13.2.1", "nouislider": "^10.1.0", "rxjs": "^6.6.7", "rxjs-compat": "^6.0.0-rc.0", "tslib": "^2.0.0", "xlsx": "^0.11.19", "xlsx-style": "^0.8.13", "zone.js": "~0.10.3" }, "devDependencies": { "@angular-devkit/build-angular": "~0.1102.14", "@angular/cli": "^11.2.14", "@angular/compiler-cli": "^11.2.14", "@angular/language-service": "^11.2.14", "@types/core-js": "^0.9.46", "@types/cors": "^2.8.12", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "^2.0.10", "@types/node": "^14.17.11", "codelyzer": "^6.0.0", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.4", "karma-chrome-launcher": "~3.1.0", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "~3.2.0", "tslint": "~6.1.0", "typescript": "^4.3.5" } }

AyanBhadury commented 2 years ago

@Gayudhaya I am not able to see fusioncharts & angular-fusioncharts mentioned in the dependencies object.

Please note you need to use angular-fusioncharts : 3.0.4

Gayudhaya commented 2 years ago

@Gayudhaya I am not able to see fusioncharts & angular-fusioncharts mentioned in the dependencies object.

Please note you need to use angular-fusioncharts : 3.0.4

Actually no need angular-fusioncharts : 3.0.4 package for my dev process. using the above packages, and i am not able to find why this issue come?
Capture

AyanBhadury commented 2 years ago

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