作曲家在Symfony 3.4中需要sonata-project / core-bundle

问题描述

我想将 sonata-project / user-bundle 添加到Symfony 3.4项目中,但是我收到以下错误消息,顺便说一句,我已经安装了“ sonata-project / doctrine- orm-admin-bundle ”:

composer require "sonata-project/user-bundle"
-------------------------------

Using version ^4.7 for sonata-project/user-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sonata-project/user-bundle 4.7.0 conflicts with sonata-project/core-bundle[3.17.2].
    - sonata-project/user-bundle 4.7.0 conflicts with sonata-project/core-bundle[3.17.2].
    - sonata-project/user-bundle 4.7.0 conflicts with sonata-project/core-bundle[3.17.2].
    - Installation request for sonata-project/user-bundle ^4.7 -> satisfiable by sonata-project/user-bundle[4.7.0].
    - Installation request for sonata-project/core-bundle (locked at 3.17.2) -> satisfiable by sonata-project/core-bundle[3.17.2].

有关信息,这是 composer.json 文件的内容:

    "require": {
        "php": ">=5.5.9","doctrine/doctrine-bundle": "^1.6","doctrine/orm": "^2.5","incenteev/composer-parameter-handler": "^2.0","sensio/distribution-bundle": "^5.0.19","sensio/framework-extra-bundle": "^5.0.0","sonata-project/doctrine-orm-admin-bundle": "^3.8","symfony/monolog-bundle": "^3.1.0","symfony/polyfill-apcu": "^1.0","symfony/swiftmailer-bundle": "^2.6.4","symfony/symfony": "3.4.*","twig/twig": "^1.0||^2.0"
    }

   

那我该怎么办?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...