NGH-Capthca buid issue
Published: 2022-05-16 04:48:05

I am facing following issue in the build after implementing ngh captcha

[ERROR] ERROR in ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.component.d.ts:47:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµFactoryDeclaration'.
[INFO] Date: 2022-05-16T04:43:56.391Z - Hash: 6b80a8b9ee6acb13db40 - Time: 14477ms
[ERROR] 
[ERROR] 47     static Éµfac: i0.ÉµÉµFactoryDeclaration<NgHcaptchaComponent, never>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.component.d.ts:48:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµComponentDeclaration'.
[ERROR] 
[ERROR] 48     static Éµcmp: i0.ÉµÉµComponentDeclaration<NgHcaptchaComponent, "ng-hcaptcha", never, { "siteKey": "siteKey"; "theme": "theme"; "size": "size"; "tabIndex": "tabIndex"; "languageCode": "languageCode"; }, { "verify": "verify"; "expired": "expired"; "error": "error"; }, never, never>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha-invisible-button.directive.d.ts:38:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµFactoryDeclaration'.
[ERROR] 
[ERROR] 38     static Éµfac: i0.ÉµÉµFactoryDeclaration<NgHcaptchaInvisibleButtonDirective, never>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha-invisible-button.directive.d.ts:39:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµDirectiveDeclaration'.
[ERROR] 
[ERROR] 39     static Éµdir: i0.ÉµÉµDirectiveDeclaration<NgHcaptchaInvisibleButtonDirective, "[ngHcaptchaInvisibleButton]", never, { "siteKey": "siteKey"; "languageCode": "languageCode"; }, { "verify": "verify"; "expired": "expired"; "error": "error"; "click": "click"; }, never>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.service.d.ts:11:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµFactoryDeclaration'.
[ERROR] 
[ERROR] 11     static Éµfac: i0.ÉµÉµFactoryDeclaration<NgHcaptchaService, never>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.service.d.ts:12:22 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµInjectableDeclaration'.
[ERROR] 
[ERROR] 12     static Éµprov: i0.ÉµÉµInjectableDeclaration<NgHcaptchaService>;
[ERROR]                         ~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.module.d.ts:8:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµFactoryDeclaration'.
[ERROR] 
[ERROR] 8     static Éµfac: i0.ÉµÉµFactoryDeclaration<NgHcaptchaModule, never>;
[ERROR]                       ~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.module.d.ts:9:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµNgModuleDeclaration'.
[ERROR] 
[ERROR] 9     static Éµmod: i0.ÉµÉµNgModuleDeclaration<NgHcaptchaModule, [typeof i1.NgHcaptchaComponent, typeof i2.NgHcaptchaInvisibleButtonDirective], never, [typeof i1.NgHcaptchaComponent, typeof i2.NgHcaptchaInvisibleButtonDirective]>;
[ERROR]                       ~~~~~~~~~~~~~~~~~~~~~
[ERROR] ../node_modules/ng-hcaptcha/lib/ng-hcaptcha.module.d.ts:10:21 - error TS2694: Namespace '"C:/Users/dkhedkar/GITProjs/15522/firstdata-global-aem/fd-frontend/node_modules/@angular/core/core"' has no exported member 'ÉµÉµInjectorDeclaration'.
[ERROR] 
[ERROR] 10     static Éµinj: i0.ÉµÉµInjectorDeclaration<NgHcaptchaModule>;
[ERROR]                        ~~~~~~~~~~~~~~~~~~~~~
[ERROR] 
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 1
[ERROR] npm ERR! aem-maven-archetype@1.0.0 prod: `webpack -p --config ./webpack.prod.js && clientlib --verbose && cd fd-forms && ng build --prod && clientlib --verbose`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR! 
[ERROR] npm ERR! Failed at the aem-maven-archetype@1.0.0 prod script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging out

Please do let me know where it is going wrong.

Thanks