Problem/Motivation
Getting below error while installing module on Drupal 9:
Problem 1
- drupal/listjs_lib[dev-1.x, 1.2.0] require drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 9.2.6 (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.
- drupal/listjs_lib[1.0.0, ..., 1.1.0] require drupal/core ~8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 9.2.6 (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.
- drupal/listjs dev-1.x requires drupal/listjs_lib * -> satisfiable by drupal/listjs_lib[dev-1.x, 1.0.0, 1.1.0, 1.2.0, 1.x-dev (alias of dev-1.x)].
- drupal/listjs 1.x-dev is an alias of drupal/listjs dev-1.x and thus requires it to be installed too.
- drupal/listjs_lib 1.x-dev is an alias of drupal/listjs_lib dev-1.x and thus requires it to be installed too.
- Root composer.json requires drupal/listjs 1.x-dev@dev -> satisfiable by drupal/listjs[1.x-dev (alias of dev-1.x)].
Steps to reproduce
Run composer require 'drupal/listjs:1.x-dev@dev' on drupal 9 instance.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork listjs-3241227
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
anybodyPlease review :)
Comment #5
anybodysry
Comment #6
anybodyComment #7
anybody@subhojit777 just made me Co-Maintainer, so I'll have a look at the 8,x branch and commit this patch to fix things.
Comment #9
anybodyFixed for all submodules. Should work with Drupal 9 and 10 now.