composer error while updating “.git directory is missing”

怎甘沉沦 提交于 2019-11-30 17:08:37

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

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

The easiest way is to remove the install folder of that component before making the composer update

rm -rf  /var/www/site2.com/vendor/zf-commons/zfc
composer update

delete zf-commons/zfc-admin then execute composer update. usually you are not adviced to commit zf-commons/zfc-admin to your repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!