composer 2 install 或 update时报错解决

报错:You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

原因版本冲突

解决:https://stackoverflow.com/questions/64597051/how-to-downgrade-or-install-a-specific-version-of-composer-on-windows

运行命令 composer self-update --1 回滚至v1

原文地址:https://www.cnblogs.com/caicaizi/p/14235623.html