Laravel 安装器安装报错 404
刚刚尝试使用 Laravel 安装器安装 laravel new blog
,报错:
Crafting application...
In RequestException.php line 113:
Client error: `GET http://cabinet.laravel.com/latest.zip` resulted in a `40
4 Not Found` response:
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</c (truncated...)
new [--dev] [--auth] [-f|--force] [--] [<name>]
访问 http://cabinet.laravel.com/latest.zip
确实得到 404 返回。
建议萌新直接使用 composer
创建项目。
这种形式的创建目前在官方文档中已经没有介绍了,很可能是之前的脚本创建项目已经不更新了。可以参考文档 只用 sail 或者 composer 的形式安装