将Codeception over Composer安装到Yii2



我在Yii2项目中安装Codeception时遇到问题。

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.

我错过什么了吗?

来源http://yiiframework.com/forum/index.php/topic/61520-using-jquery-111

请先尝试删除[供应商文件夹]。fxp插件缓存包信息以便更快,因此不可能降级w/o删除供应商

相关内容

  • 没有找到相关文章

最新更新