htmlburger / wpemerge-theme

An organized, ES6 and SASS powered theme taking advantage of the WP Emerge framework. 🚀
https://wpemerge.com/
GNU General Public License v2.0
286 stars 33 forks source link

Error while installing "The command "yarn add "'popper.js'@^1.14"" failed." #16

Closed kristjankoppel closed 6 years ago

kristjankoppel commented 6 years ago

Hi!

Since today - when i try to install project with Bootstrap i get error like this: https://jmp.sh/0oxy2cu

Yesterday all worked fine. Maybe this is something with new release?

atanas-dev commented 6 years ago

Hi @kristjankoppel ,

Please run composer update until it downloads htmlburger/wpemerge-cli version 0.11.1 - this hotfix should resolve the issue.

kristjankoppel commented 6 years ago

Ok wpemerge-cli updates to 0.11.1 but how i trigger installation again? It quits and don't add needed files. Even if i do yarn install manually it installs only dependencies from package.json file. Missing Bootstrap and any other option i selected in create-project step.

atanas-dev commented 6 years ago

You will have to manually clean up after the failed CLI install unfortunately - should be something like this:

  1. yarn remove bootstrap popper.js - this may fail as some of the packages may not be installed anyway.
  2. rm resources/scripts/theme/vendor/bootstrap.js - make sure to keep a backup of this file if you have made any changes to it.
  3. ./vendor/bin/wpemerge install to reinstall your desired package.