FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.
Other
518 stars 83 forks source link

Problems installing - conflicts with sebastian/exporter #200

Closed sneakyx closed 4 years ago

sneakyx commented 4 years ago

Environment

Symfony 3.4

Symfony packages

composer show --latest 'symfony/*'                                      
  [RuntimeException]                     
  The "--latest" option does not exist.  

Subject

I tried to update from IvoryCKEditorBundle like described in https://github.com/FriendsOfSymfony/FOSCKEditorBundle/blob/HEAD//docs/migration.rst but I get an error

Actual results

php -d memory_limit=-1 /usr/bin/composer remove egeloen/ckeditor-bundle
Dependency "symfony/symfony" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/symfony" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/symfony" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/symfony" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing egeloen/ckeditor-bundle (4.0.6)
  - Removing egeloen/json-builder (2.0.1)
Package symfony/assetic-bundle is abandoned, you should avoid using it. Use symfony/webpack-encore-pack instead.
Writing lock file
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

 // Clearing the cache for the dev environment with debug                       
 // true                                                                        

 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets

 Trying to install assets as relative symbolic links.

 --- ------------------- ------------------ 
      Bundle              Method / Error    
 --- ------------------- ------------------ 
  ✔   GuzzleBundle        relative symlink  
  ✔   ApiPlatformBundle   relative symlink  
 --- ------------------- ------------------ 

 [OK] All assets were successfully installed.                                   

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
root@dc6203f2a42d:/var/www/html# php -d memory_limit=-1 /usr/bin/composer require friendsofsymfony/ckeditor-bundle:1.2.0
./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 1.2.0 conflicts with sebastian/exporter[1.2.2].
    - friendsofsymfony/ckeditor-bundle 1.2.0 conflicts with sebastian/exporter[1.2.2].
    - friendsofsymfony/ckeditor-bundle 1.2.0 conflicts with sebastian/exporter[1.2.2].
    - Installation request for friendsofsymfony/ckeditor-bundle 1.2.0 -> satisfiable by friendsofsymfony/ckeditor-bundle[1.2.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.

I tried also with

php -d memory_limit=-1 /usr/bin/composer require friendsofsymfony/ckeditor-bundle:1.2.0

but this produces the same error.

sneakyx commented 4 years ago

See: https://stackoverflow.com/questions/58603162/friendsofsymfony-ckeditor-bundle-conflicts-with-sebastian-exporter/58603970?noredirect=1#comment103520917_58603970