通过Composer在Yii2上安装Codeception

3
我在安装Codeception到我的Yii2项目时遇到了问题。
1)下载了Composer到Yii2项目中:
curl -sS https://getcomposer.org/installer | php

尝试安装 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.

我错过了什么吗?

好的,我在这里找到了一个解决方案 http://www.yiiframework.com/forum/index.php/topic/61520-using-jquery-111/ - FiftiN
为了将来的参考,完全可以回答自己的问题。我已将您的答案添加为社区维基(即我不会从中获得任何积分)。 - topher
@topherkanyuga 谢谢) 我会记住的。 - FiftiN
1个回答

2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接