1
airqj 2020 年 7 月 16 日 via Android
走代理试试看
|
2
moxuanyuan OP @airqj #1 openwrt 中已经开了 v2,试过把 v2 停了也不行
|
3
imnpc 2020 年 7 月 16 日
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
我在 macOS + Homestead (基于 Ubuntu )和 CentOS7 中使用的这个执行以后没问题 |
4
meshell 2020 年 7 月 16 日
等久点就行了。
|
5
toxicant 2020 年 7 月 16 日
每次 install or require 都是玄学,我都是看运气,运气好一瞬间,运气不好一上午[doge]
|
6
icebay 2020 年 7 月 16 日
后边加个 -vvv,看看是卡在哪里了
|
7
fxjson 2020 年 7 月 17 日
换一个源
|
8
pinews 2020 年 7 月 20 日
|
9
moxuanyuan OP @fxjson #7 换了也一样
|
10
konakona 2020 年 8 月 28 日
这个问题我专门分析过,现在一个 laravel 项目可能有 100 个包。
而且有些巨大的包,超时时间非常建议调宽。 COMPOSER_PROCESS_TIMEOUT=4000 composer -vv create-project laravel/laravel --prefer-dist 使用-vvv 查看详细的输出,使用 composer global require hirak/prestissimo 这个包来提速。 |