简体   繁体   中英

i can't install sonataAdminBundle with symfony 5

I am trying to install sonata admin bundle in a fresh Symfony 5 installation but I get this error :

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

We rely on many third party libraries which is hard to fix.

There is also an open issue on GitHubhttps://github.com/sonata-project/SonataAdminBundle/issues/5788

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM