Php artisan serve in laravel

997 views Asked by At

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

2

There are 2 answers

2
Amir Khan On BEST ANSWER
composer install
composer update
php artisan optimize:clear

This will clear all the cache of the application

0
Pallavi Rangadiya On

run php artisan optimize command