首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Yii2上安装

在Yii2上安装
EN

Stack Overflow用户
提问于 2015-02-11 13:17:24
回答 1查看 819关注 0票数 3

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

1)下载到Yii2项目的编写器:

代码语言:javascript
复制
curl -sS https://getcomposer.org/installer | php

2)尝试安装协同欺骗:

代码语言:javascript
复制
php composer.phar require "codeception/codeception:*"

错误:

代码语言:javascript
复制
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.

我错过了什么吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-02-11 14:29:06

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

先尝试删除供应商文件夹。fxp插件为了更快地缓存软件包信息,所以不可能降低w/o删除供应商的级别

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28455369

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档