首页 > 解决方案 > Composer 更新错误:安装 smatar/laravel-settings (1.3):正在下载(失败)。拉拉维尔

问题描述

在我的 laravel 项目中执行 composer update 时出现此错误(它已经工作了多年):

 - Installing smatar/laravel-settings (1.3): Downloading (failed)    Failed to download smatar/laravel-settings from dist: The "https://api.github.com/repos/SMATAR/laravel-settings/zipball/7b76462fe90224688c632d90c5f84a28c0f6e2bc" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing smatar/laravel-settings (1.3): The authenticity of host 'github.com (18.231.5.6)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Cloning 7b76462fe9


  [RuntimeException]
  Failed to clone https://github.com/SMATAR/laravel-settings.git via https, ssh protocols, aborting.
  - https://github.com/SMATAR/laravel-settings.git
    Cloning into '/var/www/html/prod/web/vendor/smatar/laravel-settings'...
    remote: Invalid username or password.
    fatal: Authentication failed for 'https://github.com/SMATAR/laravel-settings.git/'
  - git@github.com:SMATAR/laravel-settings.git
    Cloning into '/var/www/html/prod/web/vendor/smatar/laravel-settings'...
    Warning: Permanently added the RSA host key for IP address '18.228.67.229' to the list of known hosts.
    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

标签: phplaravelgitlaravel-5permissions

解决方案


从 github 删除的包:https ://github.com/SMATAR/laravel-settings

包的 Packagist 页面:https ://packagist.org/packages/smatar/laravel-settings

您必须与软件包发布者联系。


推荐阅读