Skip to content

Composer errors when installing with Magento OS #815

Open
@joeshelton-wagento

Description

@joeshelton-wagento

Preconditions

PHP 8.2
Composer 2.5.8

Steps to reproduce

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>
composer require magento/ece-tools

Expected result

Composer installation without warnings or errors

Actual result

Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update magento/ece-tools
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - magento/ece-tools 2002.0 requires monolog/monolog ^1.17 -> found monolog/monolog[1.17.0, ..., 1.27.1] but the package is fixed to 2.9.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - magento/ece-tools[2002.0.1, ..., 2002.0.23] require php ^7.0 -> your php version (8.2.8) does not satisfy that requirement.
    - magento/ece-tools[2002.1.0, ..., 2002.1.8] require php ^7.1.3 -> your php version (8.2.8) does not satisfy that requirement.
    - magento/ece-tools[2002.1.9, ..., 2002.1.15] require symfony/config ^4.4 || ^5.1 -> found symfony/config[v4.4.0, ..., v4.4.44, v5.1.0, ..., v5.4.26] but the package is fixed to v6.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires magento/ece-tools * -> satisfiable by magento/ece-tools[2002.0, ..., 2002.1.15].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require magento/ece-tools:*" to figure out if any version is installable, or "composer require magento/ece-tools:^2.1" if you know which you need.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions