php artisan make:auth

If you are seeing this error in red background in your terminal for laravel to create scaffolding.

Why? This command only works for laravel 5 or above

Solution: use a different command instead:

composer require laravel/ui
php artisan ui:auth

Authentication scaffolding generated successfully.

Command "make:auth" is not defined.  
                                       
  Did you mean one of these?           
      make:cast                        
      make:channel                     
      make:command                     
      make:component                   
      make:controller                  
      make:event                       
      make:exception                   
      make:factory                     
      make:job                         
      make:listener                    
      make:mail                        
      make:middleware                  
      make:migration                   
      make:model                       
      make:notification                
      make:observer                    
      make:policy                      
      make:provider                    
      make:request                     
      make:resource                    
      make:rule                        
      make:seeder                      
      make:test