/var/www vendor/beberlei/DoctrineExtensions 中缺少 .git 目录,请参阅 http://getcomposer.org/commit-deps 了解更多信息
The .git directory is missing from /var/www vendor/beberlei/DoctrineExtensions, see http://getcomposer.org/commit-deps for more information
当我运行
php composer.phar 更新 beberlei/DoctrineExtensions
我遇到了以上错误
我读了http://getcomposer.org/commit-deps
但无法正确理解
在解决方案中我找到了
composer error while updating ".git directory is missing"
但是删除供应商目录不是一个好主意(我想)有没有人有任何其他好的解决方案
除了删除vendor,你可以删除beberlei/DoctrineExtensions目录,这样会更快。
删除整个目录没有风险,因为您可以用 composer update
重新创建它(唯一的缺点是需要时间)。
当我运行 php composer.phar 更新 beberlei/DoctrineExtensions 我遇到了以上错误
我读了http://getcomposer.org/commit-deps
但无法正确理解
在解决方案中我找到了
composer error while updating ".git directory is missing"
但是删除供应商目录不是一个好主意(我想)有没有人有任何其他好的解决方案
除了删除vendor,你可以删除beberlei/DoctrineExtensions目录,这样会更快。
删除整个目录没有风险,因为您可以用 composer update
重新创建它(唯一的缺点是需要时间)。