laravel8- PHP工匠服务命令错误



我正在打开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 installcomposer update先于php artisan serve

最新更新