使用composer时报The "xxx" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You ma y need to run composer update with the "--no-plugins" option

发布时间:2021/01/04 作者:天马行空 阅读(1613)

有时候我们在使用composer安装包的时候,会出现如下错误:

The "xxx" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You ma y need to run composer update with the "--no-plugins" option


遇到这种情况只需要执行:

composer update xxx

获取最新版本的插件,即可。

关键字composer error