我已经创建了GIT repo并尝试了,但显示了相同的错误
Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not
found in C:\xampp\htdocs\app\bootstrap\app.php:14 Stack trace: #0
C:\xampp\htdocs\app\public\index.php(22): require() #1 {main} thrown in
C:\xampp\htdocs\app\bootstrap\app.php on line 14
发布于 2019-02-06 15:20:13
在我的情况下,我没有完全的供应商依赖项(composer文件在最初的安装过程中被弄乱了)-所以运行任何artisan命令都会导致失败。
我能够使用--no-scripts
标志来阻止artisan在它被包含之前执行。一旦我的依赖项就位了,一切都会按预期进行。
composer update --no-scripts
https://stackoverflow.com/questions/54547479
复制相似问题