2015-03-14 22:57:36 26645次浏览 10条回答 2 悬赏 0 金钱
D:\source\phptest>php composer.phar create-project yiisoft/yii2-app-advanced adv
anced 2.0.3
Installing yiisoft/yii2-app-advanced (2.0.3)
  - Installing yiisoft/yii2-app-advanced (2.0.3)
    Downloading: connection...
    Downloading: 0%
    Downloading: 5%
    Downloading: 10%
    Downloading: 15%
    Downloading: 20%
    Downloading: 25%
    Downloading: 30%
    Downloading: 40%
    Downloading: 45%
    Downloading: 55%
    Downloading: 60%
    Downloading: 65%
    Downloading: 70%
    Downloading: 75%
    Downloading: 85%
    Downloading: 90%
    Downloading: 100%

Created project in advanced
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
    - yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
    - yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
    - yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stabl
e -> no matching package found.
    - Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0
.0, 2.0.1, 2.0.2, 2.0.3].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your min
imum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common
 problems.

这是什么问题 困扰好几天了请大神指点.拜谢!

  • 回答于 2015-03-15 09:33 举报

    先运行composer global require "fxp/composer-asset-plugin:1.0.0-beta4"这个,在运行create-project语句。

    4 条回复
    回复于 2015-03-15 19:38 回复

    已经运行了并且成功了.但是下载的过成功php cli挂了 因为网速问题?

    回复于 2015-03-15 19:45 回复

    @xiaoshi: 我用的GoAgent

    回复于 2015-03-15 19:46 回复

    @xiaoshi: 我觉得不是网速的问题 关键是php cli 挂了 明天去公司试一下

    回复于 2015-03-15 19:47 回复

    @xiaoshi: 好吧 我试试 谢了

  • 回答于 2015-03-18 13:08 举报

    你这个问题弄好了吗!

    1 条回复
    回复于 2015-03-18 13:48 回复

    没有 用了vpn也下不下来 php cli 一直挂...

  • 回答于 2015-03-18 14:41 举报

    我也是这里报错!但是是不是那个basic项目文件夹都下载好了!加下我QQ873811021!咱俩谁先解决了告诉对方下!好吗!

    1 条回复
    回复于 2015-09-14 14:13 回复

    你们别这样啊,解决了在这里说一下啊,我也遇到了这个问题,相信很多人都会遇到。。。

    觉得很赞
  • 回答于 2015-11-26 11:15 举报

    一样的问题

  • 回答于 2016-03-08 09:02 举报

    composer global require "fxp/composer-asset-plugin:~1.0.0"

    1 条回复
    回复于 2016-08-28 00:06 回复

    用这个就好了!

    觉得很赞
  • 回答于 2016-06-13 09:51 举报

    有人解决吗??

  • 回答于 2016-12-26 18:37 举报

    此问题已经解决,看下边这篇文章:http://www.viphper.com/?p=1159

  • 回答于 2017-04-03 17:22 举报

    我也遇到这个问题,请问是怎么解决的,一直弄不好,打开主页500报错

  • 回答于 2018-01-16 05:39 举报

    composer global require "fxp/composer-asset-plugin:1.2.0"
    这步成功之后,
    composer update
    之后完成了https://github.com/settings/tokens 的验证,生成token,输入token到命令行的提示的地方,
    经过漫长的半小时。。可能是我没用国内composer镜像的缘故吧,慢了点,但是成功了。

  • 回答于 2020-04-10 13:22 举报

    直接执行 composer global require "fxp/composer-asset-plugin" 完后,再composer install 就可以了

您需要登录后才可以回答。登录 | 立即注册
随心所欲
经理

随心所欲 河北

注册时间:2012-07-23
最后登录:2015-07-08
在线时长:100小时11分
  • 粉丝4
  • 金钱275
  • 威望0
  • 积分1275

热门问题