登录

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

错误如下:

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

# Laravel
P粉609232991P粉609232991358 天前1048 次浏览

全部回复(1) 我要回复

  • Icetalker

    Icetalker2022-06-16 04:34:52

    网络连接不好,换个composer源

    回复
    0
  • 取消回复发送