composer create-project --prefer-dist laravel/laravel blog 报错
P粉609232991
P粉609232991 2022-06-15 16:11:45
0
1
1724

错误如下:

vagrant@homestead:~$ composer create-project --prefer-dist laravel/laravel showApi

Creating a "laravel/laravel" project at "./showApi"

https://repo.packagist.org could not be fully loaded (curl error 28 while downloading https://repo.packagist.org/packages.json: Connection timed out after 10005 milliseconds), package information was loaded from the local cache and may be out of date  [Composer\Downloader\TransportException]  curl error 28 while downloading https://repo.packagist.org/p2/laravel/laravel.json: Operation timed out after 10004   milliseconds with 0 out of 0 bytes received

P粉609232991
P粉609232991

reply all(1)
Martin Huang

The network connection is not good, change the composer source

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template