Composer php friendsofsymfony/ckeditor捆绑包与sebastian/exporter冲突
成功卸下egeloen/ckeditor捆绑包后,我在安装FOS/ckeditor捆绑包时遇到问题。 (我是按照以下建议的方式做的:) 输出为:Composer php friendsofsymfony/ckeditor捆绑包与sebastian/exporter冲突,composer-php,ckeditor,symfony-3.4,Composer Php,Ckeditor,Symfony 3.4,成功卸下egeloen/ckeditor捆绑包后,我在安装FOS/ckeditor捆绑包时遇到问题。 (我是按照以下建议的方式做的:) 输出为: composer require friendsofsymfony/ckeditor-bundle Using version ^2.1 for friendsofsymfony/ckeditor-bundle ./composer.json has been updated Loading composer repositories wi
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.0,而friendsofsymfony/ckeditor bundle
不支持该版本
您可以使用获取需要sebastian/exporter
的软件包列表
composer why sebastian/exporter
然后,您可以使用它升级(因此他们需要更新的
sebastian/exporter
)或删除软件包以安装捆绑包。我的phpunit/phpunit似乎使用了sebastian/exporter。我删除了phpunit/phpunit,现在可以安装ckeditor.phpunit 5.7是第一个支持sebastian/exporter
2.0的版本,因此您可以尝试升级到该版本,而不是删除它。