composer需要api / v3而不是gitlab上的api / v4的package_name要求

问题描述 投票:1回答:1

当我想要一个软件包使用作曲家时,它将返回错误消息:

Installation failed, reverting ./composer.json to its original content.                                                                                   
  [Composer\Downloader\TransportException]                                                          
  The "https://gitlab.com/api/v3/projects/bugloos%2Flogin%2Dbundle" file could not be downloaded (HTTP/1.1 410 Gone)                                                                                

但是如果我单击v4 gitlab的链接将返回正确的响应,我不知道如何告诉gitlab v4版本给我答复]

enter image description here

[当我需要使用composer的软件包时,它将返回错误消息:安装失败,将./composer.json还原为原始内容。 ...

git composer-php gitlab
1个回答
0
投票

两年前在Composer中此was fixed。您需要更新您的作曲家:

composer self-update
© www.soinside.com 2019 - 2024. All rights reserved.