angular-highcharts
angular-highcharts copied to clipboard
WARNING in Entry point 'angular-highcharts'
WARNING in Entry point 'angular-highcharts' contains deep imports into '../node_modules/highcharts/highmaps', '../node_modules/highcharts/highstock'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
environments:
"@angular/animations": "^9.0.1", "@angular/cdk": "^9.0.0", "@angular/common": "~9.0.1", "@angular/compiler": "~9.0.1", "@angular/core": "~9.0.1", .... "angular-highcharts": "^9.0.2", "highcharts": "^8.0.0"
Ok, imports are only for typing, but if some knows how to fix this, help is welcome :)
A quick fix for the host application is to use ignorableDeepImportMatchers
option.
- add
ngcc.config.js
file i a project root folder (where package.json located) - write something like this:
module.exports = {
packages: {
'angular-highcharts': {
ignorableDeepImportMatchers: [/highcharts\//]
},
},
};
Issue should be fixed in 9.0.11, please be sure using the latest Highcharts version.
Can someone confirm this?
Ok, its not.
I have just upgrade my project from Angular 8 to Angular 9. And when I'm doing ng s
the same warning pops up. Is there any fix for this?
My highcharts versions,
"angular-highcharts": "^8.0.3",
"highcharts": "^7.2.1"
this is why all this packages are not useful in NPM as NPM evolves, that small packages will not be maintened. i will just remove this package. help wanted , oops.
9.0.11 doesn't fix it.
same issue here.
"angular-highcharts": "^9.0.11",
"highcharts": "^8.1.0",
same issue here.
"angular-highcharts": "^9.0.11", "highcharts": "^8.1.0",
https://github.com/cebor/angular-highcharts/issues/325#issuecomment-615161669