无法从dist

问题描述

我尝试安装此软件包: https://github.com/TYPO3/Fluid.Lint

作为开发人员的要求,可通过:ddev composer require typo3fluid / fluid-lint --dev

我收到此错误

./ composer.json已更新 使用软件包信息加载composer存储库更新依赖关系(包括require-dev)
软件包操作:1安装,0更新,0删除

  • 安装namelesscoder / fluid(1.1.0):下载(失败)无法从dist下载namelesscoder / fluid:“ https://api.github.com/repos/NamelessCoder/TYPO3.Fluid/zipball/0b9a6b4d5d5096a470238fbccfb52beb257c7a71”无法下载文件(找不到HTTP / 1.1 404) 现在尝试从源代码下载
  • 安装namelesscoder / fluid(1.1.0):克隆0b9a6b4d5d

安装失败,将./composer.json恢复为其原始内容

[RuntimeException]
无法执行git clone --no-checkout'https:// @ github.com / NamelessCoder / TYPO3.Fluid.git.git''/ var / www / html / vendor / namelesscoder / fluid'&& cd'/ var / www / html / vendor / namelesscoder / fluid'&& git remote add composer'https:// @ github.com / NamelessCoder / TYPO3.Fluid.git.git'&& git fetch compose
r && git远程设置URL来源'https://github.com/NamelessCoder/TYPO3.Fluid.git.git'&& git远程设置URL编写器'https://github.com/NamelessCoder/TYPO3.Fluid.git .git'

克隆到'/ var / www / html / vendor / namelesscoder / fluid'...
远程:找不到存储库。
致命的:***@github.com/NamelessCoder/TYPO3.Fluid.git.git/'找不到

我该如何解决???????

解决方法

这不是您的问题。存储库链接似乎附加了错误的第二个.githttps://:@github.com/NamelessCoder/TYPO3.Fluid.git.git

尽管此存储库自5年以来一直未维护,但它可能不是最新的,并且不能用于当前的TYPO3版本。

更多内容请参见此处:https://github.com/TYPO3/Fluid.Lint/issues/8

,

从未发布过使用新软件包的新版本(请参见https://github.com/TYPO3/Fluid.Lint/commit/3c6e8fcefad1648c5c31dfdeebada99c03c7a0d7),因此您必须使用dev-master:

ddev composer require typo3fluid/fluid-lint:dev-master --dev