Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291667

composer update drupal/core "drupal/core-*" --with-all-dependencies fails with composer 2

$
0
0

Problem/Motivation

Attempting to update Drupal 8 core utilizing composer. Server utilizes composer 2. The lock file says you need to utilize composer 1?

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

  Problem 1
    - Root composer.json requires composer/installers ^1.2 -> satisfiable by composer/installers[v1.7.0].
    - composer/installers v1.7.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.

Steps to reproduce

Run;

composer update drupal/core "drupal/core-*" --with-all-dependencies

Proposed resolution

I am positive there is a workaround. I think this should be resolved through the Drupal team.


Viewing all articles
Browse latest Browse all 291667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>