Error “could not delete” with Composer on Vagrant

前端 未结 16 1108
闹比i
闹比i 2020-12-14 05:45

I have a Vagrant running Linux and I\'m trying to install Symfony.

After the command composer create-project symfony/framework-standard-edition ./ \"2.5.*\"

16条回答
  •  我在风中等你
    2020-12-14 06:29

    I had this problem when provisioning the machine, which was bootstrapped to run composer install. I simply exited the VM and ran composer install on the code on my host machine and it worked.

    So, if you're facing this problem while running Composer inside the VM, just try running Composer from outside the VM.

    Update: As pointed in the comments below, this can pose some problems with different versions of packages being installed owing to the difference in system configurations between the local and Vagrant environments, so exercise appropriate caution while trying this.

提交回复
热议问题