Skip to content

Installing the command #197

@javiercasares

Description

@javiercasares

Bug Report

Describe the current, buggy behavior

Something is happening when installing the plugin.

Describe how other contributors can replicate this bug

When using the install command:

wp package install wp-cli/profile-command

I'm getting

Installing package wp-cli/profile-command (dev-main || dev-master || dev-trunk)
Updating /root/.wp-cli/packages/composer.json to require the package...
Using Composer to install the package...
---
Loading composer repositories with package information
Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.

Dependency resolution completed in 0.001 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
    - Root composer.json requires wp-cli/profile-command dev-main || dev-master || dev-trunk -> satisfiable by wp-cli/profile-command[dev-main].
    - wp-cli/profile-command dev-main requires wp-cli/wp-cli ^2.12 -> found wp-cli/wp-cli[2.11.0] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance.
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
---
Error: Package installation failed (Composer return code 2).
Reverted composer.json.

AFAIK at this moment there is no wp-cli/wp-cli ^2.12 (2.11 is the current)...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions