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