composer install 出现 RuntimeException Failed to execute


 

报错: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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM