amazon-web-services - UnexpectedValueException “...不是 zip 存档”与作曲家
问题描述
在 AWS 服务器上,我有一个测试环境并且运行良好,但是当我尝试部署新更改时突然出现以下错误(顺便说一句,与此同时,由于 HomeOffice,WIFI 已更改)
Unzip with unzip command failed, falling back to ZipArchive class
Install of mandrill/mandrill failed
[UnexpectedValueException]
'/var/www/vhosts/testing4a.example.com/vendor/composer/3e7ad5f270bd79e05aa39b51b8a9cf24.zip'
is not a zip archive.
到目前为止尝试过:
- 我也尝试了另一个网络(WIFI),但仍然是同样的问题。
- 清除作曲家缓存
解决方案
在这里解决了 https://github.com/composer/composer/issues/5982
尝试
composer clear-cache
composer global update
推荐阅读
- internet-explorer-11 - 尝试在 IE11 中打开时,某些网站如何在 Edge 中自动打开?
- python - 在 python 中拟合交换泊松分布似乎不正确
- firebase - 支持移动应用程序的 Firebase 项目的安全性
- python - 使用 python-logstash 向 logstash 发送基本消息并删除不必要的信息数据
- c# - 如何使用 Microsoft Graph 中的一些 API
- css - @media print 如何在表格中仅显示子元素
- gradle - 没有收到测试
- django - 在 aws linux 2 实例上使用弹性 beanstalk 运行 django-q
- c# - 登录主体但 User.Identity.IsAuthenticated 为 False 且 HttpContext.AuthenticateAsync 为 False
- json - 在 null 上调用了方法“[]”。接收方:在访问 json 中的键:值对时为 null T