Reputation:
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
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