Lakion / CmsPlugin

Simple CMS on top of SymfonyCMF for Sylius applications.
http://lakion.com
26 stars 20 forks source link

Following installation instructions fails on beta2 #54

Closed gabiudrescu closed 7 years ago

gabiudrescu commented 7 years ago

I ran the following command successfully:

composer require jackalope/jackalope-doctrine-dbal
Using version ^1.3 for jackalope/jackalope-doctrine-dbal
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 4 installs, 0 updates, 0 removals
  - Installing phpcr/phpcr (2.1.4) Downloading: 100%         
  - Installing phpcr/phpcr-utils (1.3.0) Downloading: 100%         
    Skipped installation of bin bin/phpcr for package phpcr/phpcr-utils: name conflicts with an existing file
  - Installing jackalope/jackalope (1.3.3) Downloading: 100%         
  - Installing jackalope/jackalope-doctrine-dbal (1.3.0) Downloading: 100%         
    Skipped installation of bin bin/jackalope for package jackalope/jackalope-doctrine-dbal: name conflicts with an existing file
phpcr/phpcr-utils suggests installing ramsey/uuid (A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).)
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    
 --- ------------------------------ ------------------ 
  ✔   SonataCoreBundle               relative symlink  
  ✔   WhiteOctoberPagerfantaBundle   relative symlink  
 --- ------------------------------ ------------------ 

 [OK] All assets were successfully installed.                                   

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget

then, when running the next command, I receive an error:

composer require lakion/cms-plugin
Using version dev-master for lakion/cms-plugin
./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
    - doctrine/phpcr-odm 2.0.x-dev requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - lakion/cms-plugin dev-master requires doctrine/phpcr-odm ^2.0@dev -> satisfiable by doctrine/phpcr-odm[2.0.x-dev].
    - Installation request for lakion/cms-plugin dev-master -> satisfiable by lakion/cms-plugin[dev-master].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

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

am I doing something wrong?

michalmarcinkowski commented 7 years ago
git clone git@github.com:Sylius/Sylius-Standard.git
cd Sylius-Standard
composer install
composer require jackalope/jackalope-doctrine-dbal
composer require lakion/cms-plugin

Works without any issue, maybe you have some conflicting dependency in your project?

gabiudrescu commented 7 years ago

I was using this docker environment: https://github.com/everzet/sylius-docker

but it seems not using docker works.

I tried both on PHP 7.0 and PHP 7.1. I'll close this ticket and reopen if I still encounter similar problems.