- Issue created by @djkozz
- 🇺🇦Ukraine dench0
You need to run the require command with dependencies update.
Try:
composer require 'drupal/recaptcha_v3:^2.0' -w
orcomposer require 'drupal/recaptcha_v3:^2.0' -W
- 🇲🇽Mexico djkozz Puebla
Normally I do not add -w. But because the normal command does not works, I will try. Thank you Denis!
- 🇲🇽Mexico djkozz Puebla
Does not work with -W, stays in 2.0.1, terminal says: " - drupal/recaptcha_v3 2.0.2 requires google/recaptcha ^1.3 -> found google/recaptcha[1.3.0] but the package is fixed to 1.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command."
- 🇮🇳India shubham_jain
Hi, in the fresh installation it works fine. Attaching screenshot for refrence.
- 🇺🇦Ukraine dench0
@bcobin
1. show yourcomposer.json
file
2. which PHP version do you have?
3. show the output of the command:composer why-not drupal/recaptcha_v3 2.0.2
- 🇺🇸United States bcobin
I'm on PHP 8.1.24 and you probably don't need to see my composer.json file - the output of the command says it all:
drupal/recaptcha_v3 2.0.2 requires drupal/captcha (^2.0)
(I was running captcha 1.14.)
composer require 'drupal/captcha:^2.0' does the trick, followed by composer update drupal/recaptcha_v3
Thanks!
- Status changed to Closed: works as designed
about 1 year ago 1:17pm 25 October 2023 - 🇺🇸United States stephenplatz
I'm using php7.4.33, I'm currently on 2.0.1 and neither
composer update drupal/recaptcha_v3
norcomposer require 'drupal/recaptcha_v3:^2.0'
works to update to 2.0.2, for what it's worth.In both case just
Nothing to install, update or remove
- 🇺🇦Ukraine dench0
@stephenplatz
you need to update the php to the 8 version:google/recaptcha
1.3.0 requires it