composer-php - 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 有特殊版本吗?
解决方案
您的一些其他依赖项可能需要sebastian/exporter
< 2.0friendsofsymfony/ckeditor-bundle
不支持。
您可以获取需要的软件包sebastian/exporter
列表
composer why sebastian/exporter
然后您可以使用它来升级(因此它们需要更新sebastian/exporter
)或删除软件包以启用捆绑包的安装。
推荐阅读
- javascript - 我正在使用此代码时遇到 JSX 错误,我无法弄清楚
- haskell - 将泛型函数类型检查推断为返回类型但不是参数类型
- elasticsearch - Elasticsearch 自定义分析器
- python - 为什么我的脚本可以正常工作,当我手动执行它时,但使用 crontab 它不起作用?
- ruby-on-rails - 添加限制以验证发送到 Rails API 的 json 数据
- python - Loky-backed 并行循环不能嵌套在线程下面,设置 n_jobs=1
- jquery - jQuery 不加载整个表格
- html - 对于 img 元素,有没有办法像 background-position 一样将它定位到背景图像?
- d - 为什么函数的返回语句不是通常的 int[ ]
- php - 不必要的换行 php