hi,
this post is for those who’re following this guide: Getting Started: Windows (WSL) | Roots Documentation
In case you’re getting Composer error at TASK [wordpress-install : Install Dependencies with Composer] ****************** like this:
Plugin installation failed, rolling back
then try this workaround:
-
replace this
“composer/installers”: “^1.4”,
with this
“composer/installers”: “dev-master#v1.7.0”,
at your /roots-example-project.com/site/composer.json -
run composer update
-
try vagrant up again
I spent 3 days on this issue, I was so angry that my previous post got unlisted by admins lol.
source: Plugin installation failed, rolling back; Could not delete · Issue #430 · composer/installers · GitHub