I recently integrated ReCaptcha V3 into my Angular 6 project by installing ng-recaptcha with the command npm i ng-recaptcha --save
, following the instructions provided in the documentation at https://www.npmjs.com/package/ng-recaptcha#installation.
However, after the installation, I encountered an error stating that "[email protected]" requires a peer of @angular/core@^11.0.0, but my project is currently using version 6.1.0 and I don't want to upgrade.
When attempting to run the application, I received the following error message: ERROR in node_modules/ng-recaptcha/recaptcha/recaptcha.component.d.ts(5,43): error TS1005: ';' expected
I'm uncertain if downgrading to a lower version of ng-recaptcha would solve this issue. Any assistance would be greatly appreciated. Thank you!