【发布时间】:2015-02-26 19:40:35
【问题描述】:
我在 Windows 8 上使用 xampp,我想运行 composer.phar update 来安装 Yii2-user根据此处的说明:
http://yii2-user.readthedocs.org/en/latest/getting-started/installation.html
但是当我这样做时,不会发生更新。
相反,我看到了 composer 的版本号和 composer 可能的命令列表。
没有错误消息,update 在可能的命令列表中。
我也尝试过composer update,但是我收到了一条错误消息:
Problem 1
- yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
- yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
- yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0
.0, 2.0.1].
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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
【问题讨论】:
标签: windows composer-php yii2