aleksip/shila-drupal-theme

Composer install fails when trying to install starter kit

rlahoda opened this issue · 4 comments

I'm trying to follow your process for setting up the starter kit but when I get to the Composer install section. I'm sorry I'm not especially experienced with this but it appears to say that there's a dependency within your plugin-data-transform that calls for twig version "0.*" but since twig is over v1 and is itself installed as a v1+ already in the dependencies there's a problem.

Below is the error I get when I try to run composer install:

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
    - 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 0.* -> satisfiable by pattern-lab/patternengine-twig[v0.5.0, v0.5.4, v0.5.5, v0.6.0, v0.6.1, v0.6.2, v0.6.3, v0.6.4, v0.6.5, v0.6.6, v0.6.7, v0.7.0, v0.7.1, v0.7.2, v0.7.3, v0.7.4] but these conflict with your requirements or minimum-stability.

It looks like you are running composer install in the starterkit directory. For the setup described in the README you don't need to do that, you should run composer install in the pattern-lab directory (if you want the Pattern Lab integration).

This error should still not occur, but will be fixed soon.

Oh, ok. Thanks! I missed that I was supposed to change directories.

Thanks for reporting the error. Keeping this issue open until it is fixed.

Ok, I tried the whole process from the beginning again and actually paid attention to changing folders and everything worked smoothly. Thanks!