php - 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.
解决方案
从 github 删除的包:https ://github.com/SMATAR/laravel-settings
包的 Packagist 页面:https ://packagist.org/packages/smatar/laravel-settings
您必须与软件包发布者联系。
推荐阅读
- pytorch - 组装需要渐变的 PyTorch `Tensor` 的有效方法
- c++ - 在 Windows 10 Visual Studio 2017 上为 FTPS 设置 Curl
- maven - 从 Maven 存储库中获取最新版本
- javascript - 如何检查表的父类
- gdb - GDB“服务器”命令
- plone - 自定义用户偏好存储
- opendaylight - 使用 Yangtools 无法从 yang 文件生成 Pojos
- javascript - 我想用 server.js 中 req.body 的新数据填充employeeData
- arrays - swift reversed的时间复杂度是多少?
- macos - 无法导入证书以登录钥匙串 (OS X 10.13.5)