【发布时间】:2016-04-05 09:06:17
【问题描述】:
我正在尝试在 Laravel 5.2 中运行此命令,但它不起作用:
php artisan make:auth
并用这些语句提示:
[InvalidArgumentException]
Command "make:auth" is not defined
Did you mean one of these?
make:test
make:request
make:migration
make:seeder
make:middleware
make:controller
make:provider
make:policy
make:event
make:console
make:job
make:listener
make:model
make:command
【问题讨论】:
-
它们与使用 Illuminate\Contracts\Auth\Authenticator 完全不同;在 AuthenticateUser.php.as 我提到我正在使用 laravel 5.2
-
你试过
composer update吗? -
是的,就在昨晚..
-
@YauheniPrakopchyk 你使用 laravel 5.2 吗?
-
您的现有代码一定有问题,您必须尝试全新安装。 laravel.com/docs/master/installation 。可能您会理解确切的问题。