Target class [TaskController] does not exist on route:list code example
Example: Target class [PlayerController] does not exist.
//add controller path
Route::get('/players', 'App\Http\Controllers\PlayerController@index');
//add controller path
Route::get('/players', 'App\Http\Controllers\PlayerController@index');