laravel 编写器无法连接到repo.packagist.org:443

jv2fixgn  于 2023-02-14  发布在  其他
关注(0)|答案(1)|浏览(559)

当我运行composer u时,在laravel中收到此错误:

Loading composer repositories with package information
https://repo.packagist.org could not be fully loaded (curl error 35 while downloading https://repo.packagist.org
/packages.json: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to repo.packagist.org:443 ), package inform
ation was loaded from the local cache and may be out of date

我觉得它说“我无法连接到repo.packagist.org
版本laravel:7
PHP代码:7.2.5
composer :2.4.4

yqkkidmi

yqkkidmi1#

运行composer config -g repo.packagist composer https://packagist.org
资源= laracasts
如果不起作用,则打开或关闭VPN。
如果问题仍然没有解决,请检查此页面并更改您的dns.it是我的工作!
https://github.com/composer/composer/issues/9376#issuecomment-718921358

相关问题