composer.json fails to resolve installable set of package

后端 未结 3 1410
春和景丽
春和景丽 2021-01-01 06:17

I can\'t install stof/doctrine-extensions-bundle with my Composer. I\'m using Symfony2.1.9 version and a lot of problems are shown. The first one is:

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-01 07:14

    As this is a completly different answer. Your problem is not stof/doctrine-extensions-bundle, it's white-october/pagerfanta-bundle. Kids, read the error messages!

    How i knew this? Simply copied your composer.json, executed update and got a meaning error message:

     white-october/pagerfanta-bundle dev-master requires symfony/framework-bundle >=2.2,<3.0 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1], symfony/framework-bundle[v2.2.0, v2.2.1].
    

    which means, actual versions of pagerfanta-bundle requires symfony 2.2, so you have to upgrade, if you want to use it.

提交回复
热议问题