Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error after updating to Angular 9 #495

Open
chrisplusplus opened this issue Apr 26, 2022 · 1 comment
Open

error after updating to Angular 9 #495

chrisplusplus opened this issue Apr 26, 2022 · 1 comment

Comments

@chrisplusplus
Copy link

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

@lazaro3487
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants