The "yiisoft/yii2-composer" plugin was skipped? [ 2.0 版本 ]
$ composer install
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.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.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update
or composer update <package name>
.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- yiisoft/yii2-composer is locked to version 2.0.5 and an update of this package was not requested.
- yiisoft/yii2-composer 2.0.5 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 2
- yiisoft/yii2-composer 2.0.5 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
- yiisoft/yii2 2.0.12 requires yiisoft/yii2-composer ~2.0.4 -> satisfiable by yiisoft/yii2-composer[2.0.5].
- yiisoft/yii2 is locked to version 2.0.12 and an update of this package was not requested.
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.
这个怎么解决啊?
共 0 个回答
PHP学院的中学生
最后登录:2024-09-23
在线时长:168小时13分
- 粉丝29
- 金钱4725
- 威望30
- 积分6705