Why do I get a laravel error while creating a new project?

后端 未结 11 2084

When I type laravel new blog I get the following error.

In RequestException.php line 113:

Server error: GET http://cabinet.laravel.com/latest.zi

11条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-01 02:05

    1. You need to update the installer to the latest version.

    laravel-news.com/updating-the-laravel-installer

    composer global require "laravel/installer:^4.0"
    
    1. after update you check your version using: laravel --version and you should get output like Laravel Installer 4.0.3

提交回复
热议问题