Laravel PackageManifest.php:未定义索引:名称 [英] Laravel PackageManifest.php: Undefined index: name
本文介绍了Laravel PackageManifest.php:未定义索引:名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是尝试部署我的应用程序,而我刚刚在服务器上运行了composer更新,却遇到以下错误:
I'm just trying to deploy my application and I just ran composer update on my server and I got the following error:
在PackageManifest.php第122行中:未定义索引:名称
In PackageManifest.php line 122: Undefined index: name
如何解决此问题?
推荐答案
我遇到了同样的问题.就我而言,降级作曲家版本可以解决此问题.他们在2天内更新了Composer 4次-我认为他们的最新更新存在问题.就我而言,版本1.10.1是要使用的版本.
i had the same problem. In my case downgrading the composer version fixed the problem. They updated Composer 4 times within 2 days - i think they had a problem with their newest updates. In my case version 1.10.1 was the version to go with.
我希望它能工作.
这篇关于Laravel PackageManifest.php:未定义索引:名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文