Search code examples
laravellaravel-artisanartisan-serve

Php artisan serve in laravel


I am new in laravel development. I am using latest version 9 of laravel, when I write php artisan serve in git bash or in VS code terminal after sometime it gives an error. I attached a screenshot of an error.

enter image description here


Solution

  • composer install
    composer update
    php artisan optimize:clear
    

    This will clear all the cache of the application