composer install 出现 RuntimeException Failed to execute

时间:2020-07-13 17:22:55   收藏:0   阅读:320

 

报错:composer.json 的  require添加新包 需要删除composer.lock和vender 从新composer install

[RuntimeException]
Failed to execute git checkout ‘xxxx‘ -- && git reset --hard ‘xxxxx‘ --

error: unable to read sha1 file of xxxxxx (xxxx)

......

......

 

解决方法

composer clear

composer install

 

参考:https://segmentfault.com/q/1010000018768672

原文:https://www.cnblogs.com/songyanan/p/13294282.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!