Yii2 composer报错处理

报错:

在Yii安装目录下执行composer任一命令时,报错:

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 update yiisoft/yii2-composercomposer update yiisoft/yii2-composer --no-plugins获取最新版本的插件,即可。

posted @ 2019-08-29 12:56  MeetU  阅读(2450)  评论(0编辑  收藏  举报