Skip to content

Dependency issue with Composer 2 #1

@rutiolma

Description

@rutiolma

When you run composer install/update for the first time on a project (without a .lock or vendor folder), everything will work as long as you use the default composer.json, which contains "wikimedia/composer-merge-plugin".

As soon as you add a "drupal/*" project, if you try to run composer install/update for the first time on a project (without a .lock or vendor folder), then several dependencies will be "Locked" in the wrong version and you'll get an error about dependencies.
This is probably due to some dependency updates.

To mitigate this issue just run composer install/update twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions