首页 > 解决方案 > Composer:文件的校验和验证失败

问题描述

我通过 GitLab 页面托管我自己的 Satis 存储库。

然而,由于某种原因,The checksum verification of the file failed当作曲家尝试安装其中一个存储库时,它会不断出错。

它现在断断续续地发生了几个星期,我无法弄清楚它为什么会发生或如何调试它。

这是我的satis.json

{
  "name": "Composer Repository",
  "homepage": "<snip>",
  "repositories": [
    {"type": "vcs", "url": "<snip>"},
    {"type": "vcs", "url": "<snip>"}
  ],
  "require-all": true,
  "require-dependencies": true,
  "archive": {
    "directory": "dist",
    "format": "zip",
    "skip-dev": true,
    "checksum": false
  }
}

checksum: false在一周前添加了这似乎解决了这个问题,但现在它又来了。

我已经尝试清除缓存,但没有任何效果。有任何想法吗?

标签: composer-phpsatis

解决方案


推荐阅读