2016-12-13 21:59:30 5801次浏览 3条回答 1 悬赏 10 金钱

插件下载不成功

D:\phpStudy\www\yii\a>composer require --prefer-dist spanjeta/yii2-backup "*"
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API
version ("1.0.0") that does not match your Composer installation ("1.1.0"). You
may need to run composer update with the "--no-plugins" option.
./composer.json has been updated
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API
version ("1.0.0") that does not match your Composer installation ("1.1.0"). You
may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Reading bower.json of bower-asset/fontawesome (v4.3.0)
  • 回答于 2016-12-14 09:42 举报

    上面不是说了吗,叫你先composer update 试试

    1 条回复
    回复于 2016-12-14 09:44 回复

    是我下载的YII2版本太旧了,用最新的版本就可以了。

  • 回答于 2016-12-14 09:52 举报

    直接运行 composer self-update , 先生及composer在安装下。记得最好用国内镜像,如果你有vpn,你就碉堡啦。哈哈哈

    觉得很赞
  • 回答于 2019-08-15 16:21 举报

    运行composer update yiisoft/yii2-composer获取最新版本的插件。

您需要登录后才可以回答。登录 | 立即注册
okokad
经理

okokad

注册时间:2016-02-29
最后登录:2017-07-01
在线时长:49小时26分
  • 粉丝12
  • 金钱25
  • 威望80
  • 积分1315

热门问题