Gautam Kumar
Gautam Kumar

Reputation: 727

Cannot start artisan serve in laravel 5

I am using laravel 5, when I try to start server from

php artisan serve

I get following error :

[Symfony\Component\Debug\Exception\FatalErrorException] App\Providers\RouteServiceProvider::App\Providers{closure}(): Failed opening required 'D:\Test\app\app\Http/routes.php' (include_path='.;C:\xampp\php\pear')

I tried composer dump-autoload, it was successfull, but when i do

composer update

I get the same error.

How to resolve it?

Upvotes: 2

Views: 1309

Answers (1)

Gautam Kumar
Gautam Kumar

Reputation: 727

routes.php was never in app\Http, it was in someother dir. Moving it back where it belongs fixed the issue

Upvotes: -1

Related Questions