0

I'm trying to install the Drupal PM (Project Management) module, which says to work with Drupal 10 and 11, on Drupal 11.1.

When I try to install it with Composer (composer require 'drupal/pm:4.1.x-dev@dev'), I get this error message.

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Root composer.json requires drupal/pm 4.x-dev@dev -> satisfiable by drupal/pm[4.x-dev (alias of dev-4.x)].
  • drupal/pm dev-4.x requires drupal/verf * -> satisfiable by drupal/verf[dev-1.x, dev-2.0.x, 1.0.0-beta1, ..., 1.x-dev, 2.0.0, 2.0.1, 2.0.2, 2.0.x-dev].
  • drupal/verf[1.0.0-beta1, ..., 1.0.0-beta7] require drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but these were not loaded, likely because it conflicts with another require.
  • drupal/verf 1.0.0 requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but these were not loaded, likely because it conflicts with another require.
  • drupal/verf[dev-1.x, dev-2.0.x, 1.x-dev, 2.0.0, ..., 2.0.x-dev] require drupal/core ^9 || ^10 -> found drupal/core[9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.5.x-dev] but these were not loaded, likely because it conflicts with another require.
  • drupal/pm 4.x-dev is an alias of drupal/pm dev-4.x and thus requires it to be installed too.

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

Does anyone know how to fix this?

4
  • 1
    You just need to thoroughly read the message: drupal/pm requires drupal/verf which itself is not D11-compatible. See yourself: drupal.org/project/verf. Simply retry with a D10 project. Commented Jan 30 at 7:52
  • Thank you for the message. Oh, that is so annoying, its taken me ages to get this project set up, hey ho! Commented Jan 30 at 9:35
  • 1
    You can also get the D11 patch for drupal/verf in drupal.org/project/verf/issues/3435339 with drupal.org/docs/develop/using-composer/… Commented Jan 30 at 10:00
  • 1
    I pinged the Verf maintainers on Slack and they just released a D11 compatible version. Commented Jan 31 at 14:15

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.