I want to use ReCaptcha V3 in my Angular 6 project so I have installed ng-recaptcha using the command npm i ng-recaptcha --save as per the doc https://www.npmjs.com/package/ng-recaptcha#installation.
npm i ng-recaptcha --save
After the installation, the error "[email protected] requires a peer of @angular/core@^11.0.0 but none is installed" displayed but I don't want to upgrade "@angular/core" to 11.0.0 as my current project uses 6.1.0.
When I try to run the application it is giving the error ERROR in node_modules/ng-recaptcha/recaptcha/recaptcha.component.d.ts(5,43): error TS1005: ';' expected
I am not sure whether any lesser version of ng-recaptcha will resolve my problem or not. Please help
Version 6.1 of ng-recaptch needs Angular version 6 and up
"peerDependencies": { "@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" },
https://github.com/DethAriel/ng-recaptcha/tree/v6.1.0 try to install it instead
2.1m questions
2.1m answers
60 comments
57.0k users