linbabay
$ php composer.phar install
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
- yiisoft/yii2-composer is locked to version 2.0.7 and an update of this package was not requested. - yiisoft/yii2-composer 2.0.7 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.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint. - yiisoft/yii2 2.0.17 requires yiisoft/yii2-composer ~2.0.4 -> satisfiable by yiisoft/yii2-composer[2.0.7]. - yiisoft/yii2 is locked to version 2.0.17 and an update of this package was not requested.
Use the option --with-all-dependencies to allow upgrades, downgrades and removals for packages currently locked to specific versions.
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.
这个问题,楼主如何解决呢
$ php composer.phar install
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
- yiisoft/yii2-composer is locked to version 2.0.7 and an update of this package was not requested. - yiisoft/yii2-composer 2.0.7 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.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint. - yiisoft/yii2 2.0.17 requires yiisoft/yii2-composer ~2.0.4 -> satisfiable by yiisoft/yii2-composer[2.0.7]. - yiisoft/yii2 is locked to version 2.0.17 and an update of this package was not requested.
Use the option --with-all-dependencies to allow upgrades, downgrades and removals for packages currently locked to specific versions.
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.
- linbabay 2020-11-19 已签到连续签到1天,获得了5个金钱
- linbabay 2020-07-17 已签到连续签到1天,获得了5个金钱
- linbabay 2020-05-21 已签到连续签到1天,获得了5个金钱
- linbabay 2019-10-25 已签到连续签到1天,获得了5个金钱