更新“.git目录丢失”时的作曲者错误。 [英] composer error while updating ".git directory is missing"

查看:461
本文介绍了更新“.git目录丢失”时的作曲者错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用composer更新zf-commons / zfc-admin时,它给出一个RuntimeException错误,指出

When I Updating zf-commons/zfc-admin using composer, it gives an RuntimeException error saying that


[RuntimeException] >
/var/www/site2.com/vendor/zf-commons/zfc

-admin中缺少.git目录,请参阅 http://getcomposer.org/commit-deps 了解更多信息

推荐答案

当我对作曲家有问题时,我做的第一件事是删除供应商文件夹并执行作曲家更新

When ever I have "issues" with composer the first thing I do is delete the vendor folder and do a "composer update"

您也可以尝试删除一个组件vendor / zf-commons

You could also try to delete just that one component "vendor/zf-commons"

这篇关于更新“.git目录丢失”时的作曲者错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆