D:\phpStudy\WWW\yii\shop>php ../composer.phar require warrence/yii2-kartikgii "d
ev-master"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2-jui 2.0.5 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- yiisoft/yii2-jui 2.0.4 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- yiisoft/yii2-jui 2.0.3 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- yiisoft/yii2-jui 2.0.2 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- yiisoft/yii2-jui 2.0.1 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- yiisoft/yii2-jui 2.0.0 requires bower-asset/jquery-ui 1.11.*@stable -> no
matching package found.
- warrence/yii2-kartikgii dev-master requires kartik-v/yii2-icons * -> satis
fiable by kartik-v/yii2-icons[v1.0.0, v1.1.0, v1.2.0, v1.3.0, v1.4.0, v1.4.1].
- kartik-v/yii2-icons v1.0.0 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- kartik-v/yii2-icons v1.1.0 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- kartik-v/yii2-icons v1.2.0 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- kartik-v/yii2-icons v1.3.0 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- kartik-v/yii2-icons v1.4.0 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- kartik-v/yii2-icons v1.4.1 requires yiisoft/yii2-jui * -> satisfiable by y
iisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].
- Installation request for warrence/yii2-kartikgii dev-master -> satisfiable
by warrence/yii2-kartikgii[dev-master].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min
imum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more det
ails.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
Installation failed, reverting ./composer.json to its original content.
今天我更新的时候也出现同样的问题,修改 require
部分如下,解决问题。