【问题标题】:Failed to download namelesscoder/fluid from dist从 dist 下载 namelesscoder/fluid 失败
【发布时间】:2020-08-19 12:52:12
【问题描述】:

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

作为开发要求:ddev composer require typo3fluid/fluid-lint --dev

我收到此错误:

./composer.json 已更新 使用包信息加载作曲家存储库更新依赖项(包括 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 Not Found) 现在尝试从源下载
  • 安装 namelesscoder/fluid (1.1.0):克隆 0b9a6b4d5d

安装失败,正在将 ./composer.json 还原为其原始内容。

[运行时异常]
无法执行 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 remote set-url origin 'https://github.com/NamelessCoder/TYPO3.Fluid.git.git' && git remote set-url composer' https://github.com/NamelessCoder/TYPO3.Fluid.git .git'

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

我该如何解决这个问题???????

【问题讨论】:

    标签: composer-php typo3 fluid ddev linter


    【解决方案1】:

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

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

    更多请看这里:https://github.com/TYPO3/Fluid.Lint/issues/8

    【讨论】:

    • 在此链接的末尾,您也遇到了同样的问题。如果您观看此问题,您将获得进度更新。顺便说一句,一个问号就足够了。
    【解决方案2】:

    从来没有发布过使用新软件包的新版本(请参阅https://github.com/TYPO3/Fluid.Lint/commit/3c6e8fcefad1648c5c31dfdeebada99c03c7a0d7),因此您必须改为要求 dev-master:

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

    【讨论】:

    • 然后我收到此错误:[InvalidArgumentException] 无法在匹配 dev-master 的版本中找到包typo3fluid/fluid-lint
    • 那是因为你必须为 dev 设置 minimum-stability 以允许你的项目中的 dev 版本见getcomposer.org/doc/04-schema.md#minimum-stability
    猜你喜欢
    • 1970-01-01
    • 2018-11-15
    • 2018-11-06
    • 1970-01-01
    • 2021-03-01
    • 2016-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多