user10478041
user10478041

Reputation:

laravel8- php artisan serve command error

I am opening laravel9 project file. artisan file is here. when i write php artisan serve command is giving follow error

PHP Warning: require(/home/saide/Desktop/saide_backoffice_web_app/vendor/autoload.php): failed to open stream: No such file or directory in /home/saide/Desktop/saide_backoffice_web_app/artisan on line 18 PHP Fatal error: require(): Failed opening required '/home/saide/Desktop/saide_backoffice_web_app/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/saide/Desktop/saide_backoffice_web_app/artisan on line 18

How can i solve this problem ?

Upvotes: 1

Views: 1120

Answers (2)

Sky Arcs
Sky Arcs

Reputation: 31

try composer install or composer update before php artisan serve

Upvotes: 1

Moris Finkel
Moris Finkel

Reputation: 307

What was before you try to run this command?

Have you try composer install before php artisan serve

It Will be good to get more information.

Upvotes: 1

Related Questions