Skip to content

Can not install because of version conflict with composer/installers #15

@hirasso

Description

@hirasso

Hi there! Once again it seems like I'm late to the party ;)

...tried to install wps in a current roots/bedrock project I'm working on. The install fails with these errors:

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

  Problem 1
    - Root composer.json requires rarst/wps * -> satisfiable by rarst/wps[dev-master, 1.0, 1.1, 1.2, 9999999-dev].
    - rarst/wps[1.0, ..., 1.1] require composer/installers ~1.0 -> found composer/installers[v1.0.0, ..., 1.x-dev] but the package is fixed to v2.3.0 (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.
    - rarst/wps[dev-master, 1.2] require composer/installers ~1.6 -> found composer/installers[v1.6.0, ..., 1.x-dev] but the package is fixed to v2.3.0 (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.

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 rarst/wps:*" to figure out if any version is installable, or "composer require rarst/wps:^2.1" if you know which you need.

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

I'm unsure if and how I can solve this conflict on my end. Would there speak anything against allowing composer/installers v2 in wps?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions