Installation Illumb\Foundation\Application::\uu construct()必须是Illumb\Http\Request的实例,字符串为给定的

Installation Illumb\Foundation\Application::\uu construct()必须是Illumb\Http\Request的实例,字符串为给定的,installation,laravel-5,Installation,Laravel 5,我是拉雷维尔的新手。在我新安装的laravel 5上,我得到了这个……有什么帮助吗 Catchable fatal error: Argument 1 passed to Illuminate\Foundation\Application::__construct() must be an instance of Illuminate\Http\Request, string given, called in D:\xampp\htdocs\laravel\bootstrap\app.php o

我是拉雷维尔的新手。在我新安装的laravel 5上,我得到了这个……有什么帮助吗

Catchable fatal error: Argument 1 passed to Illuminate\Foundation\Application::__construct() must be an instance of Illuminate\Http\Request, string given, called in D:\xampp\htdocs\laravel\bootstrap\app.php on line 16 and defined in D:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Foundation\Application.php on line 108

您是否运行:composer安装?您是如何安装laravel5的?您尝试过Github克隆吗?正如Isablock所说,如果您的源代码稍旧,请不要忘记composer安装或composer更新…是的,我从github克隆了它并运行composer安装。这个错误就在那之后。