Trying to install it when using Drupal 9 version. Getting below errors.

$ composer require 'drupal/likebtn:^2.15'
./composer.json has been updated
Running composer update drupal/likebtn
Loading composer repositories with package information
Updating dependencies
Info from https://repo.packagist.org: #StandWithUkraine
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/likebtn ^2.15 -> satisfiable by drupal/likebtn[2.15.0].
- drupal/likebtn 2.15.0 requires drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 9.3.7 (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.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Anybody has used this module with Drupal 9?

Thanks,

Comments

monalipatil created an issue.

Graham Leach’s picture

Hello,

Looks like you are trying to install a Drupal 9 version on Drupal 8 core to me:

Did you update from Drupal 8 to Drupal 9 in your installation? If so, that may not have gone well...

> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 9.3.7
> (lock file version) by a partial update and that version
> does not match.