为什么php artisan命令make:auth不起作用? [英] Why does the command php artisan make:auth not work?
问题描述
有人知道为什么我输入该命令时会中止吗?
Does someone know why this command gets aborted when I enter it?
D:\ sites_laravel \ vinyl_shop> php artisan make:auth
D:\sites_laravel\vinyl_shop>php artisan make:auth
[auth/login.blade.php]视图已经存在.您要更换吗? (是/否)[否]:
中止了.
The [auth/login.blade.php] view already exists. Do you want to replace it? (yes/no) [no]:
Aborted.
错误消息
推荐答案
我认为views文件夹中的登录文件有问题,如果可以删除,请同时删除它 验证您的作曲家是否已安装,可以通过以下方式进行安装
i think there is a probleme with login file in views folder ,if you can remove it, remove it and also verify if your composer is installed you can install it by
composer install
以及您的系统身份验证者
and also your System auth by
composer require laravel/ui "^2.0" --dev
此命令适用于laravel 7
但是请在[新版本] [1]中查找新版本
but look for the new version in [new version][1]
如果您使用的是新版本的laravel 7+,请使用:
and if you in a new version of laravel 7+ just use :
php artisan ui vue --auth
这篇关于为什么php artisan命令make:auth不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!