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

后端 未结 11 2085

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

    try to update laravel/installer globally via:

    composer global update laravel/installer
    

    if it didn't work then you can try to remove and install it again:

    composer global remove laravel/installer 
    composer global require laravel/installer
    

提交回复
热议问题