我在laravel初學者,所以當我開始使用作曲家創建項目創建我的項目laravel/laravel我的項目名稱5.4。*Laravel供應商/自動加載缺少
然後我上運行它,我瀏覽器http://localhost:8080/test/public/它表明我這個錯誤:
Warning: require(C:\xampp\htdocs\test\public/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test\public\index.php on line 24
和
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\test\public/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test\public\index.php on line 24
我使用作曲家安裝,更新等..試過,但似乎沒有發生。
[Laravel 5 Failed opening required bootstrap /../ vendor/autoload.php]可能重複(https://stackoverflow.com/questions/28468625/laravel-5-failed-opening-required-bootstrap-vendor- autoload-php) – noufalcep
你編輯過'public \ index.php'嗎? –
我應該怎麼知道? @noufalcep –