作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试安装 crudkit.com。这是我的 composer.json:
{
"description" : "The CodeIgniter framework",
"name" : "codeigniter/framework",
"license": "MIT",
"require": {
"php": ">=5.2.4"
},
"require-dev": {
"mikey179/vfsStream": "1.1.*"
}
}
$ sudo php composer.phar install
Installing dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
Checking composer.json: FAIL
The version field is present, it is recommended to leave it out if the package is published on Packagist.
Checking platform settings: FAIL
The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.
最佳答案
尝试更新 Composer 如下。
sudo composer clear-cache
"repositories": [
{
"type": "composer",
"url": "https://packagist.org"
},
{ "packagist": false }
],
sudo composer update
关于php - Composer 无法解码响应 : zlib_decode(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35936466/
我正在尝试安装 crudkit.com。这是我的 composer.json: { "description" : "The CodeIgniter framework", "name
我正在尝试使用 composer 安装 laravel 5.1 依赖项。 我已经安装了最新版本的 Composer : Composer version 1.0-dev (a54f84f05f915c
我在更新项目中的依赖项时遇到问题。问题: 无法解码响应:zlib_decode():数据错误使用降级模式重试,检查 https://getcomposer.org/doc/articles/troub
更新:我不久前按照评论中的建议将此问题发布到错误跟踪器,现在我运行了新版本的 composer 的全新安装(Composer 版本 7131607ad1d251c790ce566119d647e008
我已经安装了 Laravel 很多次了,但是今天当我不得不为我的项目安装它时,我遇到了以下奇怪的错误: Failed to decode response: zlib_decode(): data e
我是一名优秀的程序员,十分优秀!