首页 > 解决方案 > Friendsofsymfony/ckeditor-bundle 与 sebastian/exporter 冲突

问题描述

成功删除 egeloen/ckeditor-bundle 后,我在安装 FOS/ckeditor-bundle 时遇到问题。(我按照以下建议的方式进行操作:https ://github.com/FriendsOfSymfony/FOSCKEditorBundle/blob/HEAD//docs/migration.rst )

输出是:

composer require friendsofsymfony/ckeditor-bundle      
Using version ^2.1 for friendsofsymfony/ckeditor-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
    - friendsofsymfony/ckeditor-bundle 2.1.0 conflicts with sebastian/exporter[1.2.2].
    - friendsofsymfony/ckeditor-bundle 2.1.0 conflicts with sebastian/exporter[1.2.2].
    - friendsofsymfony/ckeditor-bundle 2.1.0 conflicts with sebastian/exporter[1.2.2].
    - Installation request for friendsofsymfony/ckeditor-bundle ^2.1 -> satisfiable by friendsofsymfony/ckeditor-bundle[2.1.0].
    - Installation request for sebastian/exporter == 1.2.2.0 -> satisfiable by sebastian/exporter[1.2.2].


Installation failed, reverting ./composer.json to its original content.

我也尝试过:

composer require friendsofsymfony/ckeditor-bundle:1.2.0

但我得到同样的错误。symfony 3.4 有特殊版本吗?

标签: composer-phpckeditorsymfony-3.4

解决方案


您的一些其他依赖项可能需要sebastian/exporter< 2.0friendsofsymfony/ckeditor-bundle不支持。

您可以获取需要的软件包sebastian/exporter列表

composer why sebastian/exporter

然后您可以使用它来升级(因此它们需要更新sebastian/exporter)或删除软件包以启用捆绑包的安装。


推荐阅读