安装 Symfony 调试栏在 6.5.7.3 中不起作用

问题描述 投票:0回答:1

我已经(本地,Mamp)安装了最新的 Shopware (6.5.7.3)。但如果我尝试使用以下命令安装 Symfony 调试工具:

composer require shopware/dev-tools

我收到此错误:


  Problem 1
    - symfony/flex is locked to version v2.4.2 and an update of this package was not requested.
    - symfony/flex v2.4.2 requires composer-plugin-api ^2.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - symfony/framework-bundle v6.3.9 requires composer-runtime-api >=2.1 -> found composer-runtime-api[2.0.0] but it does not match the constraint.
    - shopware/storefront v6.5.7.3 requires symfony/framework-bundle ~6.3.0 -> satisfiable by symfony/framework-bundle[v6.3.9].
    - shopware/storefront is locked to version v6.5.7.3 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.```

It used to work on previous versions (6.5.7.0 ?). And, if I update Shopware from, for example 6.5.7.0 to 6.5.7.3, it still works. But can not install in a fresh 6.5.7.3.

Anyone knows how to fix this?
shopware6
1个回答
0
投票

您是否尝试先运行

composer update

© www.soinside.com 2019 - 2024. All rights reserved.