Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the command #197

Open
2 tasks done
javiercasares opened this issue Dec 18, 2024 · 0 comments
Open
2 tasks done

Installing the command #197

javiercasares opened this issue Dec 18, 2024 · 0 comments

Comments

@javiercasares
Copy link

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)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant