Currently, my Angular App is at version 10.4 and I am facing issues when trying to integrate libraries like ngx-dropzone, ngx-file-drag-drop, ng2pdf viewer, or any other library. These integrations are throwing errors during compilation.
Below are the specific errors:
ERROR in node_modules/@iplab/ngx-file-upload/lib/services/file-upload.service.d.ts:14:21 - error TS2694: Namespace ""C:/Users/USER/Desktop/medic-cms/Medic-CMS/node_modules/@angular/core/core"" has no exported member 'ɵɵFactoryDeclaration'.
14 static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadService, never>;
~~~~~~~~~~~~~~~~~~~~
node_modules/@iplab/ngx-file-upload/lib/services/file-upload.service.d.ts:15:22 - error TS2694: Namespace ""C:/Users/USER/Desktop/medic-cms/Medic-CMS/node_modules/@angular/core/core"" has no exported member 'ɵɵInjectableDeclaration'.
15 static ɵprov: i0.ɵɵInjectableDeclaration<FileUploadService>;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@iplab/ngx-file-upload/lib/components/file-upload-abstract.component.d.ts:30:21 - error TS2694: Namespace ""C:/Users/USER/Desktop/medic-cms/Medic-CMS/node_modules/@angular/core/core"" has no exported member 'ɵɵFactoryDeclaration'.
30 static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadAbstract, never>;
~~~~~~~~~~~~~~~~~~~~
node_modules/@iplab/ngx-file-upload/lib/components/file-upload-abstract.component.d.ts:31:21 - error TS2694: Namespace ""C:/Users/USER/Desktop/medic-cms/Medic-CMS/node_modules/@angular/core/core"" has no exported member 'ɵɵDirectiveDeclaration'.
Currently, I am unable to upgrade my angular version for resolving these integration errors.