The topthinkthink-installer plugin was skipped because it requires a Plugin API version (^1.0) that does not match your Composer installation (2.1.0)

出现

The "topthink/think-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0")

解决步骤:

①清除composer之前的镜像:composer config -g --unset repos.packagist

②更新thinkPHP版本:composer update topthink/framework --no-plugins

③重新安装swoole插件:

可参考的一些语句:

composer update --no-plugins

composer require veriteworks/cookiefix --ignore-platform-reqs --no-plugins

composer self-update --1. Than run composer install or composer update again.

posted @ 2022-07-29 11:38  刘俊涛的博客  阅读(1732)  评论(0编辑  收藏  举报