无法打开自动加载文件

时间:2017-06-05 15:33:21

标签: php laravel

当我尝试访问我从github克隆的项目时,我得到了这个错误:

Warning: require(H:\xampp\htdocs\schedule.dev\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in H:\xampp\htdocs\schedule.dev\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'H:\xampp\htdocs\schedule.dev\bootstrap/../vendor/autoload.php' (include_path='H:\xampp\php\PEAR') in H:\xampp\htdocs\schedule.dev\bootstrap\autoload.php on line 17

我已经阅读了一些有同样问题的问题,所有人都说要运行

composer install

但是当我这样做时,我的命令提示符出错:

Warning: require(H:\xampp\htdocs\schedule.dev\bootstrap/../vendor/autoload.php):
 failed to open stream: No such file or directory in H:\xampp\htdocs\schedule.de
v\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'H:\xampp\htdocs\schedule.dev\bo
otstrap/../vendor/autoload.php' (include_path='H:\xampp\php\PEAR') in H:\xampp\h
tdocs\schedule.dev\bootstrap\autoload.php on line 17
PHP Warning:  require(H:\xampp\htdocs\schedule.dev\bootstrap/../vendor/autoload.
php): failed to open stream: No such file or directory in H:\xampp\htdocs\schedu
le.dev\bootstrap\autoload.php on line 17
PHP Fatal error:  require(): Failed opening required 'H:\xampp\htdocs\schedule.d
ev\bootstrap/../vendor/autoload.php' (include_path='H:\xampp\php\PEAR') in H:\xa
mpp\htdocs\schedule.dev\bootstrap\autoload.php on line 17
Script php artisan clear-compiled handling the pre-update-cmd event returned wit
h error code 255

0 个答案:

没有答案