pattern-lab / edition-php-twig-standard

Pattern Lab Standard Edition for Twig
http://patternlab.io/
MIT License
103 stars 32 forks source link

Failed to extract the starterkit #33

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi guys, Im new in gulp and emulsify, using windows 10 1703, php 7.1 and nvm for windows.

In our project, we need to use emulsify, but I have problem to install it. Everything looks ok when emulsify is installing, but when pattern-lab is installing, there is problem with extracting starterkit:

suggested starterkits that work with this edition:

  1: pattern-lab/starterkit-twig-base
  2: pattern-lab/starterkit-twig-demo

downloading the starterkit. this may take a few minutes...
finished downloading the starterkit...
failed to extract the starterkit. easiest solution is to manually download it and copy <path>./dist</path to ./source/...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! emulsify@1.0.0 postinstall: `rm -rf pattern-lab && composer create-project -n pattern-lab/edition-twig-standard pattern-lab && rm -rf pattern-lab/source && ln -s ../components pattern-lab/source && git clone https://github.com/drupal-pattern-lab/bem-twig-extension.git && cp bem-twig-extension/bem.function.php components/_twig-components/functions && rm -rf bem-twig-extension/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the emulsify@1.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 

I tried to download and copy dist from git, but when I type npm start, there is error for missing 'clean' task in gulpfile.js

Thanks for suggestions

zoiosilva commented 5 years ago

Related: #11