拉拉维尔 : failed to open stream: Success _ error in auth

标签 laravel laravel-5

我使用 Laravel 5.6

我运行以下命令:

php artisan make:auth

http://localhost:8000/register注册后,我会遇到以下错误:

 failed to open stream: Success

或者登录http://localhost:8000/login后,我会遇到以下错误:

failed to open stream: No such file or directory

谢谢你的帮助

最佳答案

  1. 首先是使用以下命令清除缓存:php artisan cache:clear
  2. 然后使用以下命令重新生成项目中需要的类:composer dump-autoload -o
  3. 使用以下方式更新项目:composer update
  4. 使用以下命令回滚迁移:php artisan migrate:rollback

关于拉拉维尔 : failed to open stream: Success _ error in auth,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51300127/

相关文章:

laravel - 如何在 Laravel 中转换时间?

php - Laravel JWT Auth 获取用户登录

php - Laravel 将密码重置链接发送到单独的身份验证保护

css - css中的laravel 5.2 URL背景

php - AWS-PHP-SDK/SNS 直接寻址返回错误

php - 在 Laravel 中将 'historical data' 存储到数据库中的正确方法是什么?

Laravel 在 Controller 内部使用 Excel 包

laravel - 按 slug 而不是按 id 搜索对象

php - MySQL列包含PHP数组内容,循环

php - 在 laravel 5 中向 mysql 数据库插入数据时出错