govCMS / GovCMS8

Current stable release of the main GovCMS8 distribution.
GNU General Public License v2.0
60 stars 58 forks source link

Composer install throws error drupal-composer/drupal-scaffold[2.4.0, ..., 2.6.1] require composer-plugin-api #586

Closed schnydszch closed 3 years ago

schnydszch commented 3 years ago

Hi all! I'm using composer 2 and upon installation composer install, I am receiving the following error: Problem 1

How do I go about this error? Thanks in advance!

pandaskii commented 3 years ago

GovCMS8 is not compatible with composer 2.x

You will have to revert the composer to 1.x :)

tobybellwood commented 3 years ago

removing the dependence on composer/drupal-scaffold (as per https://github.com/govCMS/GovCMS8/pull/478) should remediate this too.

schnydszch commented 3 years ago

Thanks for the info. I already tried using composer 1.9 instead of 2. Installation was okay. I will try tobybellwood's recommendation. Thanks and cheers!