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

后端 未结 11 2130

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:07

    The simplest way to update to the next major version of the installer is via composer require to globally require it:

    composer global require "laravel/installer:^4.0"
    

    Worked for me.

提交回复
热议问题