【问题标题】:i can't install sonataAdminBundle with symfony 5我无法使用 symfony 5 安装 sonataAdminBundle
【发布时间】:2020-04-02 14:49:34
【问题描述】:

我正在尝试在全新的 Symfony 5 安装中安装奏鸣曲管理包,但我收到此错误:

Problem 1
    - Conclusion: don't install sonata-project/admin-bundle 3.56.1
    - Conclusion: remove twig/twig v3.0.0
    - Installation request for sonata-project/admin-bundle ^3.56 -> satisfiable by sonata-project/admin-bundle[3.56.0, 3.56.1].
    - Conclusion: don't install twig/twig v3.0.0
    - sonata-project/admin-bundle 3.56.0 requires twig/twig ^2.10 -> satisfiable by twig/twig[v2.10.0, v2.11.0, v2.11.1, v2.11.2, v2.11.3, v2.12.0, v2.12.1, v2.12.2].
    - Can only install one of: twig/twig[v2.10.0, v3.0.0].
    - Can only install one of: twig/twig[v2.11.0, v3.0.0].
    - Can only install one of: twig/twig[v2.11.1, v3.0.0].
    - Can only install one of: twig/twig[v2.11.2, v3.0.0].
    - Can only install one of: twig/twig[v2.11.3, v3.0.0].
    - Can only install one of: twig/twig[v2.12.0, v3.0.0].
    - Can only install one of: twig/twig[v2.12.1, v3.0.0].
    - Can only install one of: twig/twig[v2.12.2, v3.0.0].
    - Installation request for twig/twig (locked at v3.0.0) -> satisfiable by twig/twig[v3.0.0].

【问题讨论】:

  • 您对 Twig 的要求似乎有冲突。根据您的用例,如果不会与其他库发生冲突,您可以将 twig 降级为 ^2.10 而不是使用 ^3.0。尝试使用composer require "sonata-project/admin-bundle:^3.56" "twig/twig:^2.10"

标签: symfony sonata-admin sonata symfony-sonata symfony5


【解决方案1】:

我们依赖许多难以修复的第三方库。

GitHub上还有一个未解决的问题https://github.com/sonata-project/SonataAdminBundle/issues/5788

【讨论】:

  • 我知道这篇文章已经过时了,但是有 4.0 的预计发布日期吗?
猜你喜欢
  • 2020-06-16
  • 1970-01-01
  • 2021-04-22
  • 2013-12-08
  • 2016-01-10
  • 2023-03-04
  • 2020-05-03
  • 2023-01-30
  • 1970-01-01
相关资源
最近更新 更多