New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin installation failed, rolling back; Could not delete #430
Comments
Same problem here.
|
Same, any fixes? |
Any update here? |
I have the same issue. |
Same here, btw I'm using Vagrant with homestead box (8.0.1) on VirtualBox (6.0.10). |
Have same issue.
|
Exact same problem and environment, except for composer/installers version, which is 1.7.0. |
Same problem here using last composer version (1.9.3), composer/installers 1.7.0. Cleared composer cache and vendor folder, set process-timeout 9999 and 4GB RAM to vagrant machine, working on Drupal 8. Using @hiepnsx workaround causes dependencies conflict (drupal/core-recommended 8.8.2 requires composer/installers v1.7.0). |
I had this issue. I solved it using the following command shared here composer install --no-plugins --no-scripts |
This worked for me! Thanks! |
Same problem here with Composer 1.9.3 running inside virtual machine (VirtualBox + Debian) created with Vagrant 2.2.7 (WSL env). I have to run Composer outside the VM (with shared folders) to work.
Unfortunately this is not a solution because plugins are necessary in many cases. |
@dreamon11 Try this. Solved it for me.
Credit to jimuelpalaca. Problem appears to be related to the speed of Virtualbox shared folders. I'd guess that the vagrant composer cache is getting corrupted. Edit: Or, according to svpernova09, maybe it's a simple race condition in composer... |
Thanks for help. Unfortunately, I can't get nfs to work with WSL :/
https://discourse.roots.io/t/vagrant-winnfsd-not-working-in-wsl/17709 |
Anyone still experiencing this? I guess it's just a vagrant filesystem issue but the question is if it's really common we can maybe try to work around it somehow by delaying plugin initialization if it fails or something like that? |
Me. I run composer inside a VirtualBox on a mounted SMB filesystem and needed to add |
@Seldaek yes, me also. |
Closing here, please track composer/composer#9627 (comment) which is where the problem should be fixed if at all. |
I am attempting to install on a Vagrant 2.2.4 VM running Ubuntu/bionic64 (Windows 10 Pro host machine). Other packages install fine, but this one returns "Plugin installation failed," attempts to roll back, and then fails to delete the contents of its installation directory.
Vagrantfile: https://pastebin.com/YQjAuPWL
Composer.json https://pastebin.com/Tj1kMehb
The text was updated successfully, but these errors were encountered: