phase2 / pattern-lab-drupal-theme

21 stars 7 forks source link

Composer setup error #2

Open ubiquitous12 opened 8 years ago

ubiquitous12 commented 8 years ago

I am trying to install Pttern lab theme for drupal 8 I am downloading it from here: https://www.drupal.org/project/patternlab

I am following the setup instructions in the readme file. but when I get to the step to run composer install, i recieve errors. Composer version 1.2.0

Problem 1
    - Installation request for aleksip/plugin-data-transform dev-master -> satisfiable by aleksip/plugin-data-transform[dev-master].
    - aleksip/plugin-data-transform dev-master requires pattern-lab/patternengine-twig ^2.0.0 -> satisfiable by pattern-lab/patternengine-twig[v2.0.0] but these conflict with your requirements or minimum-stability.

When I update the jason file with the new versions, and run composer update, I get php error:

Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing pattern-lab/core (v2.7.0)
    Loading from cache

> PatternLab\Installer::postPackageInstall
PHP Fatal error:  Uncaught Error: Call to undefined method PatternLab\InstallerUtil::postPackageInstall() in /var/www/drupalvm/drupal/web/themes/patternlab/pattern-lab/core/src/PatternLab/Installer.php:45
Stack trace:
#0 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(255): PatternLab\Installer::postPackageInstall(Object(Composer\Script\PackageEvent))
#1 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(209): Composer\EventDispatcher\EventDispatcher->executeEventPhpScript('PatternLab\\Inst...', 'postPackageInst...', Object(Composer\Script\PackageEvent))
#2 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(115): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Script\PackageEvent))
#3 phar:///usr/bin/composer/src/Composer/Installer.php(563): Composer\EventDispatcher\EventDispatcher->dispatchPackageEvent('post-package-in...', true, Object(Composer\DependencyResolver\DefaultPolicy), Object(Composer\DependencyResolver\Pool), Object(Compos in /var/www/drupalvm/drupal/web/themes/patternlab/pattern-lab/core/src/PatternLab/Installer.php on line 45

Fatal error: Uncaught Error: Call to undefined method PatternLab\InstallerUtil::postPackageInstall() in /var/www/drupalvm/drupal/web/themes/patternlab/pattern-lab/core/src/PatternLab/Installer.php:45
Stack trace:
#0 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(255): PatternLab\Installer::postPackageInstall(Object(Composer\Script\PackageEvent))
#1 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(209): Composer\EventDispatcher\EventDispatcher->executeEventPhpScript('PatternLab\\Inst...', 'postPackageInst...', Object(Composer\Script\PackageEvent))
#2 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(115): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Script\PackageEvent))
#3 phar:///usr/bin/composer/src/Composer/Installer.php(563): Composer\EventDispatcher\EventDispatcher->dispatchPackageEvent('post-package-in...', true, Object(Composer\DependencyResolver\DefaultPolicy), Object(Composer\DependencyResolver\Pool), Object(Compos in /var/www/drupalvm/drupal/web/themes/patternlab/pattern-lab/core/src/PatternLab/Installer.php on line 45

Does this theme work with Pattern lab core 2.7 ?