Skip to content

Cannot be installed with wp-cli 2.2.0 out of the box #118

Open
@ratzrattillo

Description

@ratzrattillo

Hey there,

i would like to try out your very promising package, as the developers of polylang obviously do not yet have any interest in providing a CLI interface.

However when trying to install the pakcage, i get the following errors:

wp package install git@github.com:diggy/polylang-cli.git

Installing package diggy/polylang-cli (dev-master)
Updating /home/www-data/.wp-cli/packages/composer.json to require the package...
Registering git@github.com:diggy/polylang-cli.git as a VCS repository...
Using Composer to install the package...
 
Loading composer repositories with package information
Updating dependencies
Resolving dependencies through SAT

Dependency resolution completed in 0.016 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
    - Conclusion: remove wp-cli/wp-cli 2.2.0
    - diggy/polylang-cli dev-master requires wp-cli/wp-cli ~1.5.0 -> satisfiable by wp-cli/wp-cli[v1.5.0, v1.5.1].
    - diggy/polylang-cli dev-master requires wp-cli/wp-cli ~1.5.0 -> satisfiable by wp-cli/wp-cli[v1.5.0, v1.5.1].
    - Can only install one of: wp-cli/wp-cli[v2.2.0, v1.5.0].
    - Can only install one of: wp-cli/wp-cli[v2.2.0, v1.5.1].
    - Installation request for wp-cli/wp-cli 2.2.0 -> satisfiable by wp-cli/wp-cli[2.2.0].
    - Installation request for diggy/polylang-cli dev-master -> satisfiable by diggy/polylang-cli[dev-master].
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements ablocking the update you have to resolve those problems.
 
Error: Package installation failed (Composer return code 2).
Reverted composer.json.

Do you know how to fix this, so the future users can enjoy your tool even with the newest version of wp-cli?
Did you ever think about submitting your polylang-cli project to the official polylang project? I think this would be really useful and maybe they would take over the maintenance for you also .:)

Greetings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions