我正在打开laravel9项目文件。工匠文件在这里。当我写php artisan serve
命令给出跟随错误
PHP警告:require(/home/saide/Desktop/saide_backoffice_web_app/vendor/autolload . PHP): failed to open stream: No such file or directory in/home/saide/Desktop/saide_backoffice_web_app/vendor (): failed to open required '/home/saide/Desktop/saide_backoffice_web_app/vendor/autolload . PHP ' (include_path='.:/usr/share/PHP ') in/home/saide/Desktop/saide_backoffice_web_app/artisan in line 18
如何解决这个问题?
在您尝试运行此命令之前是什么?
在php artisan serve
之前试过composer install
吗
能得到更多的信息就好了。
尝试composer install
或composer update
先于php artisan serve