【发布时间】:2021-12-13 18:21:06
【问题描述】:
我更新了我的 Composer 以使用版本 2,但从那以后我的 Composer 安装不再工作了。
The "phpro/grumphp" plugin was skipped because it requires a Plugin API version ("~1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- phpro/grumphp is locked to version v0.14.3 and an update of this package was not requested.
- phpro/grumphp v0.14.3 requires composer-plugin-api ~1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
我该如何解决?
【问题讨论】:
-
该软件包的 v0.14.3 已使用近三年。为什么不将其更新到任何更新的版本?去年发布的任何版本都不应导致该错误
标签: composer-php