2016-07-12 11:49:11 3506次浏览 1条回答 2 悬赏 10 金钱
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.
补充于 2016-07-12 11:49

该怎么解决呢?

最佳答案

  • ╃巡洋艦㊣ 发布于 2016-07-13 17:49 举报

    今天我更新的时候也出现同样的问题,修改 require 部分如下,解决问题。

    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": ">=2.0.6",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
        "yiisoft/yii2-jui": "*"
    },
    
    没有找到数据。
您需要登录后才可以回答。登录 | 立即注册
okokad
经理

okokad

注册时间:2016-02-29
最后登录:2017-07-01
在线时长:49小时26分
  • 粉丝12
  • 金钱25
  • 威望80
  • 积分1315

热门问题