angular-highcharts icon indicating copy to clipboard operation
angular-highcharts copied to clipboard

WARNING in Entry point 'angular-highcharts'

Open nagur527 opened this issue 4 years ago • 11 comments

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"

nagur527 avatar Feb 18 '20 04:02 nagur527

Ok, imports are only for typing, but if some knows how to fix this, help is welcome :)

cebor avatar Feb 24 '20 10:02 cebor

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\//]
    },
  },
};

blobor avatar Apr 17 '20 10:04 blobor

Issue should be fixed in 9.0.11, please be sure using the latest Highcharts version.

Can someone confirm this?

cebor avatar May 13 '20 07:05 cebor

Ok, its not.

cebor avatar May 13 '20 09:05 cebor

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"

Rahal-Kanishka avatar May 19 '20 02:05 Rahal-Kanishka

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.

p3x-robot avatar May 21 '20 16:05 p3x-robot

9.0.11 doesn't fix it.

AnassL avatar Jun 02 '20 21:06 AnassL

same issue here.

"angular-highcharts": "^9.0.11",
"highcharts": "^8.1.0",

netdjw avatar Jul 03 '20 07:07 netdjw

same issue here.

"angular-highcharts": "^9.0.11",
"highcharts": "^8.1.0",

https://github.com/cebor/angular-highcharts/issues/325#issuecomment-615161669

p3x-robot avatar Jul 03 '20 07:07 p3x-robot

#325 (comment)

Sorry, but it's just a workaround.

netdjw avatar Jul 03 '20 07:07 netdjw

#325 (comment)

Sorry, but it's just a workaround.

there is no other solution for now.

p3x-robot avatar Jul 03 '20 07:07 p3x-robot