0
votes

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 ?

2

2 Answers

0
votes

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.

0
votes

try composer install or composer update before php artisan serve