Core ui pro angular admin template not compatible with angular2-ladda version 3.2.0

Issue - Core ui pro angular admin template not compatible with angular2-ladda version 3.2.0.

Workaround - Install angular2-ladda exact version i.e. 3.1.1 to resolve issue

Below error is encountered on compilation.

Build at: 2021-08-23T09:50:32.441Z - Hash: bec53e2828ad522090f5 - Time: 87554ms

Error: node_modules/angular2-ladda/lib/ladda-config.d.ts:14:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵFactoryDeclaration’.

14 static ɵfac: i0.ɵɵFactoryDeclaration<LaddaConfig, never>;
~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda-config.d.ts:15:22 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵInjectableDeclaration’.

15 static ɵprov: i0.ɵɵInjectableDeclaration;
~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda.directive.d.ts:17:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵFactoryDeclaration’.

17 static ɵfac: i0.ɵɵFactoryDeclaration<LaddaDirective, [null, { optional: true; }, null]>;
~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda.directive.d.ts:18:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵDirectiveDeclaration’.

18[0m static ɵdir: i0.ɵɵDirectiveDeclaration<LaddaDirective, “[ladda]”, never, { “loading”: “ladda”; “disabled”: “disabled”; }, {}, never>;
~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda.module.d.ts:7:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵFactoryDeclaration’.

7 static ɵfac: i0.ɵɵFactoryDeclaration<LaddaModule, never>;
~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda.module.d.ts:8:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵNgModuleDeclaration’.

8 static ɵmod: i0.ɵɵNgModuleDeclaration<LaddaModule, [typeof i1.LaddaDirective], never, [typeof i1.LaddaDirective]>;
~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/angular2-ladda/lib/ladda.module.d.ts:9:21 - error TS2694: Namespace ‘“C:/core-ui/admin-template-2/node_modules/@angular/core/core”’ has no exported member ‘ɵɵInjectorDeclaration’.

9 static ɵinj: i0.ɵɵInjectorDeclaration;
~~~~~~~~~~~~~~~~~~~~~

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 30:10-28
"export ‘ɵɵFactoryTarget’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 157:10-28
"export ‘ɵɵFactoryTarget’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 228:10-28
"export ‘ɵɵFactoryTarget’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 38:0-27
"export ‘ɵɵngDeclareClassMetadata’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 168:0-27
"export ‘ɵɵngDeclareClassMetadata’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 244:0-27
"export ‘ɵɵngDeclareClassMetadata’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 22:19-40
"export ‘ɵɵngDeclareFactory’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 144:22-43
"export ‘ɵɵngDeclareFactory’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 222:19-40
"export ‘ɵɵngDeclareFactory’ (imported as ‘i0’) was not found in ‘@angular/core’
91m
Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 32:20-44
"export ‘ɵɵngDeclareInjectable’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 238:19-41
"export ‘ɵɵngDeclareInjector’ (imported as ‘i0’) was not found in ‘@angular/core’

Error: ./node_modules/angular2-ladda/fesm2015/angular2-ladda.js 230:19-41
"export ‘ɵɵngDeclareNgModule’ (imported as ‘i0’) was not found in ‘@angular/core’

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **