Roots Discourse

Plugin installation failed, rolling back; Could not delete

hi,
this post is for those who’re following this guide: https://roots.io/getting-started/docs/windows-basic-setup/

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:

  1. replace this
    “composer/installers”: “^1.4”,
    with this
    “composer/installers”: “dev-master#v1.7.0”,
    at your /roots-example-project.com/site/composer.json

  2. run composer update

  3. 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: https://github.com/composer/installers/issues/430

1 Like