linbabay

linbabay

这家伙有点懒,还没写个性签名!

  • 财富值65
  • 威望值0
  • 总积分85

个人信息

  • 回复了 的评论

    $ 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.

  • 2020-11-19 已签到
    连续签到1天,获得了5个金钱
  • 2020-07-17 已签到
    连续签到1天,获得了5个金钱
  • 2020-05-21 已签到
    连续签到1天,获得了5个金钱
  • 回复了 的回答

    不要再让我看到这种问题!

    我只能回答“用过”或者“没用过”。那又有什么意义呢?

    你遇到什么问题了直接说出来,大家一起帮你解决!

    干脆、利落

  • 2019-10-25 已签到
    连续签到1天,获得了5个金钱
职场新人 等级规则
85/100
资料完整度
10/100
用户活跃度
0/100

Ta的关注

0

Ta的粉丝

1

Ta的访客

1