Have you tried after clear config.
php artisan config:clear
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I am having an issue where I just started a new project on a server and I used the php artisan make:auth command like I have numerious times before. However now when I click the default made login or register links in the navbar, I get an error of
InvalidArgumentException
View [auth.login] not found.
My Routes file is as follows:-
Auth::routes();
Route::get('/', 'PagesController@index');
Route::get('/about', 'PagesController@about');
Route::get('/contact', 'PagesController@contact');
Route::get('/home', 'HomeController@index')->name('home');
I have done this numerous times before and never had any issue, but I cant seem to figure out whats causing this?
Please or to participate in this conversation.