更新laravel 6.2 [App \ Http \ Controllers \ Auth \ ConfirmPasswordController]之后不存在 [英] after Update laravel 6.2 [App\Http\Controllers\Auth\ConfirmPasswordController] does not exist
问题描述
我将laravel从v 6.0更新到v6.2,完成后,我尝试php artisan route:list
I update laravel from v 6.0 to v6.2 and after the finish, I try php artisan route:list
此错误
推荐答案
我遇到了同样的问题,我通过以下解决方案对其进行了修复:
I had the same issue, i fixed it with the following solution:
- 在文件夹App/Http/Controllers/Auth中创建一个名为"ConfirmPasswordController.php"的空文件
- 转到 https://github.com/laravel/laravel/tree/master/app/Http/Controllers/Auth 打开名为"ConfirmPasswordController.php"的文件
- 将所有文件内容复制到新创建的文件并保存.
- Create a empty file named "ConfirmPasswordController.php" in the folder App/Http/Controllers/Auth
- Go to https://github.com/laravel/laravel/tree/master/app/Http/Controllers/Auth en open the file named "ConfirmPasswordController.php"
- Copy all the file contents to your newly created file and save it.
这应该可以纠正错误.
修改
问题是,正在更新作曲家的依赖关系,而不是核心应用程序.但是de composer依赖项要求您更新内核.它们引用核心应用程序上不存在的文件(因为该应用程序不是最新的).
Edit
The problem is, were updating the composer dependencies, but not the core application. But de composer dependencies expect you to update the core. They refer to files on the core application that not exists (because the application is not up-to-date).
请参阅:如何更新Laravel Application(不是作曲者)依赖项)
这篇关于更新laravel 6.2 [App \ Http \ Controllers \ Auth \ ConfirmPasswordController]之后不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!