laravel中autoload.php文件中的警告错误

时间:2016-04-07 11:08:02

标签: php

我正在尝试运行quickstart-basic-master,但遇到此错误请给我解决方案

Warning: require(D:\xamp\htdocs\quickstart-basic-master\bootstrap/../vendor/autoload.php): 
failed to open stream: No such file or directory in D:\xamp\htdocs\quickstart-basic-master\bootstrap\autoload.php on line 17

Fatal error: require(): 
Failed opening required 'D:\xamp\htdocs\quickstart-basic-master\bootstrap/../vendor/autoload.php' (include_path='.;D:\xamp\php\PEAR') in D:\xamp\htdocs\quickstart-basic-master\bootstrap\autoload.php on line 17

1 个答案:

答案 0 :(得分:1)

你必须运行

composer install

因此它会创建包含所有依赖项的vendor目录。