3
我在我的Yii2項目中安裝Codeception有問題。在Yii2上安裝Codeception over Composer
1)下載作曲家的Yii2項目:
curl -sS https://getcomposer.org/installer | php
2)嘗試安裝Codeception:
php composer.phar require "codeception/codeception:*"
錯誤:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- Installation request for yiisoft/yii2 == 2.0.2.0 -> satisfiable by yiisoft/yii2[2.0.2].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
我錯過了什麼?
OK,我已經找到了解決此http://www.yiiframework.com/forum/index.php/topic/61520-using-jquery-111/ – FiftiN 2015-02-11 13:31:53
以供將來參考回答你自己的問題完全可以。我已經將你的答案添加爲社區wiki(即,我不會從中得到任何分數) – topher 2015-02-11 14:30:06
@topherkanyuga謝謝)我會忍受我的想法 – FiftiN 2015-02-11 15:00:48