leo6104 / ngx-slick-carousel

Angular 17+ wrapper for slick plugin
113 stars 45 forks source link

Namespace @angular/core/core has no exported member ɵɵFactoryDeclaration and many others #93

Open RBFraphael opened 2 years ago

RBFraphael commented 2 years ago

I'm facing the same problem described in issue #92 ... I'm using Angular 10, and even 0.5.X and latest (0.6) aren't working... 0.5 doesn't even install, and 0.6 is giving me these errors.

ERROR in node_modules/ngx-slick-carousel/slick.component.d.ts:72:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
static ɵfac: i0.ɵɵFactoryDeclaration<SlickCarouselComponent, never>;
node_modules/ngx-slick-carousel/slick.component.d.ts:73:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.
static ɵcmp: i0.ɵɵComponentDeclaration<SlickCarouselComponent, "ngx-slick-carousel", ["slick-carousel"], { "config": "config"; }, { "afterChange": "afterChange"; "beforeChange": "beforeChange"; "breakpoint": "breakpoint"; "destroy": "destroy"; "init": "init"; }, never, ["*"]>;
node_modules/ngx-slick-carousel/slick.component.d.ts:82:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
static ɵfac: i0.ɵɵFactoryDeclaration<SlickItemDirective, [null, null, { host: true; }]>;
node_modules/ngx-slick-carousel/slick.component.d.ts:83:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'.
static ɵdir: i0.ɵɵDirectiveDeclaration<SlickItemDirective, "[ngxSlickItem]", never, {}, {}, never>;
node_modules/ngx-slick-carousel/index.d.ts:6:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
static ɵfac: i0.ɵɵFactoryDeclaration<SlickCarouselModule, never>;
node_modules/ngx-slick-carousel/index.d.ts:7:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.
static ɵmod: i0.ɵɵNgModuleDeclaration<SlickCarouselModule, [typeof i1.SlickCarouselComponent, typeof i1.SlickItemDirective], [typeof i2.CommonModule], [typeof i1.SlickCarouselComponent, typeof i1.SlickItemDirective]>;
node_modules/ngx-slick-carousel/index.d.ts:8:21 - error TS2694: Namespace '"[...]/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
static ɵinj: i0.ɵɵInjectorDeclaration<SlickCarouselModule>;

It's a bit urgent to me to fix this, so if this is the case of only changing plugin's version, pls can someone tell me?

Thanks!

ayushgera commented 2 years ago

@RBFraphael Did you manage to find a fix for this? I am facing the same issue in Angular 11.