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.