wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin
74 stars 37 forks source link

installation failed #48

Closed elmeligy closed 3 years ago

elmeligy commented 3 years ago

Hi

trying to install the package as described in the document , installation fail with the following errors

Installing package wp-media/wp-rocket-cli (dev-master)
Updating .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.000 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
    - Root composer.json requires wp-media/wp-rocket-cli dev-master, found wp-media/wp-rocket-cli[dev-trunk, dev-develop, 1.0, v1.1.1, v1.1.2, v1.2, v1.3] but it does not match the constraint.
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.
elmeligy commented 3 years ago

I got it working using the command wp package install wp-media/wp-rocket-cli:trunk please update the document to include this