小编I W*_*na 的帖子

作曲家无法解码响应:zlib_decode()

我正在尝试安装crudkit.com。这是我的composer.json:

{
    "description" : "The CodeIgniter framework",
    "name" : "codeigniter/framework",
    "license": "MIT",
    "require": {
        "php": ">=5.2.4"
    },
    "require-dev": {
        "mikey179/vfsStream": "1.1.*"
    }

}
Run Code Online (Sandbox Code Playgroud)

之后,我使用以下命令运行作曲家:

$ sudo php composer.phar install
Run Code Online (Sandbox Code Playgroud)

但我有这样的错误:

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
Run Code Online (Sandbox Code Playgroud)

有人知道如何解决吗?

更新:我已经尝试作曲家诊断,并且我得到了:

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 …
Run Code Online (Sandbox Code Playgroud)

php

5
推荐指数
1
解决办法
5362
查看次数

标签 统计

php ×1