Open chrisplusplus opened 2 years ago
I have the same problem after upgradeing to angular 10. I cannot use this component anymore. Attached full stacktrace:
An unhandled exception occurred: node_modules/ngx-duration-picker/lib/duration-picker.component.d.ts:60:21 - error TS2694: Namespace '"../node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'
.
60 static ɵfac: i0.ɵɵFactoryDeclaration<DurationPickerComponent, never>;
~~~~~~~~~~~~~~~~~~~~
node_modules/ngx-duration-picker/lib/duration-picker.component.d.ts:61:21 - error TS2694: Namespace '"../node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.
61 static ɵcmp: i0.ɵɵComponentDeclaration<DurationPickerComponent, "ngx-duration-picker", never, { "options": "options"; "value": "value"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "customOutput": "customOutp
ut"; }, never, never>;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/ngx-duration-picker/lib/duration-picker.module.d.ts:6:21 - error TS2694: Namespace '"../node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
6 static ɵfac: i0.ɵɵFactoryDeclaration<DurationPickerModule, never>;
~~~~~~~~~~~~~~~~~~~~
node_modules/ngx-duration-picker/lib/duration-picker.module.d.ts:7:21 - error TS2694: Namespace '"../node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.
7 static ɵmod: i0.ɵɵNgModuleDeclaration<DurationPickerModule, [typeof i1.DurationPickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.DurationPickerComponent]>;
~~~~~~~~~~~~~~~~~~~~~
node_modules/ngx-duration-picker/lib/duration-picker.module.d.ts:8:21 - error0m TS2694: Namespace '"../node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
8 static ɵinj: i0.ɵɵInjectorDeclaration;
ngx-duration-picker version: 3.3.1
ERROR in node_modules/ngx-duration-picker/lib/duration-picker.component.d.ts:60:21 - error TS2694: Namespace '"/home/chris/Desktop/current/Clients/WebUI9/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
I usually see this type of error because of a package version mismatch with the Angular version. But I can't seem to find the correct version for ngx-duration-picker