0

My laravel project is showing this error: NotFoundHttpException in RouteCollection.php when i am trying to sync my project to github using github desktop, except for this route:

Route::get('/', function () {
    return view('welcome');
});

but another simple route like following will not work, and return that error.

Route::get('loa', function () {
    return view('loa');
});

In route list, using route command: php artisan route:list it says it exists. but it always returns Route not found. I also have tried to use the command dump-auto load or route:clear, but nothing is working.

nekstak
  • 27
  • 1
  • 7

1 Answers1

0

Run composer update then try again.

Md. Abutaleb
  • 1,590
  • 1
  • 14
  • 24