Error “could not delete” with Composer on Vagrant

前端 未结 16 1102
闹比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:23

    For Windows users

    Wow, I can't believe how long it took me to realize this, and sadly it has happened multiple times, and I'm finally writing this note so that I and others can quickly recover next time.

    1. Just use Windows Explorer to go delete the /vendor/whatever_project_name folder instead of trying to delete it from the Vagrant command line.

    2. Then run composer update to reinstall the dependencies.

提交回复
热议问题