[英]Installing Codeception over Composer to Yii2
I have problem with installation Codeception to my Yii2 project. 我的Yii2项目安装Codeception有问题。
1) Downloaded composer to the Yii2 project: 1)下载的作曲家到Yii2项目:
curl -sS https://getcomposer.org/installer | php
2) Trying install Codeception: 2)尝试安装Codeception:
php composer.phar require "codeception/codeception:*"
Error: 错误:
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.
Have I missed something? 我错过了什么吗?
From http://yiiframework.com/forum/index.php/topic/61520-using-jquery-111 来自http://yiiframework.com/forum/index.php/topic/61520-using-jquery-111
Try deleting [the vendor folder] first. 首先尝试删除[供应商文件夹]。 fxp plugin caches packages info in order to be faster so it's not possible to downgrade w/o deleting vendor fxp插件缓存包信息以便更快,因此无法降级而不删除供应商
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.