Composer install 错误提示解决案例(1)

composer安装错误处理

错误提示内容

Class UpdateHelper\ComposerPlugin contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods

解决办法

1
2
rm -rf vendor
composer require kylekatarnls/update-helper:"^1.2.1"

composer版本:[email protected]

参考文章:https://github.com/kylekatarnls/update-helper/issues/7