安装webman报错了

问题描述

我是在本地虚拟机安装的宝塔
Alma 9.4 (Seafoam Ocelot) x86_64(Py3.7.16)
php 8
composer 2.8.2

程序代码

curl error 28 while downloading https://repo.packagist.org/packages.json: Failed to connect to repo.packagist.org port 443: Connection timed out
155 2 0
2个回答

今天吃饭了吗

[root@master wwwroot]# composer create-project workerman/webman
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
Creating a "workerman/webman" project at "./webman"

In CurlDownloader.php line 371:

curl error 28 while downloading https://repo.packagist.org/packages.json: Failed to connect to repo.p
ackagist.org port 443: Connection timed out

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

  • 暂无评论
darcy

换Composer包仓库,换成国内的镜源

  • 暂无评论
×
🔝