composer create-project --prefer-dist laravel/laravel blog 报错

浏览:41日期:2024-01-07

问题描述

错误如下:

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 [ComposerDownloaderTransportException] 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

问题解答

回答1:网络连接不好,换个composer源
相关文章: