-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
I tried scaffolding a command. It fails with following message:
➜ wp-cli git:(master) ✗ bin/wp scaffold package wp-cli/hello --dir=hello-command
Success: Created package files in hello-command
Success: Created package test files.
Success: Created package readme.
Success: Created package GitHub configuration.
Installing package wp-cli/hello (dev-master)
Updating /Users/apple/.wp-cli/packages/composer.json to require the package...
Registering /Users/apple/code/rtcamp/wp-cli/hello-command as a path repository...
Using Composer to install the package...
---
Loading composer repositories with package information
Updating dependencies
Resolving dependencies through SAT
Dependency resolution completed in 0.004 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for wp-cli/wp-cli 2.0.0-alpha -> satisfiable by wp-cli/wp-cli[2.0.0-alpha].
- wp-cli/hello 9999999-dev requires wp-cli/wp-cli ^1.1.0 -> satisfiable by wp-cli/wp-cli[1.5.x-dev, v1.1.0, v1.2.0, v1.2.1, v1.3.0, v1.4.0, v1.4.1,v1.5.0].
- Can only install one of: wp-cli/wp-cli[1.5.x-dev, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.1.0, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.2.0, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.2.1, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.3.0, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.4.0, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.4.1, 2.0.0-alpha].
- Can only install one of: wp-cli/wp-cli[v1.5.0, 2.0.0-alpha].
- Installation request for wp-cli/hello dev-master -> satisfiable by wp-cli/hello[9999999-dev].
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.
Reactions are currently unavailable