我刚刚加载了一个新的Laravel 5实例,这是我得到的错误:
$ artisan serve
PHP Warning: require(C:\Users\jesde_000\Desktop\learning-laravel-5\bootstrap../
vendor/autoload.php): failed to open stream: No such file or directory in C:\Use
rs\jesde_000\Desktop\learning-laravel-5\bootstrap\autoload.php on line 17
Warning: require(C:\Users\jesde_000\Desktop\learning-laravel-5\bootstrap../vendo
r/autoload.php): failed to open stream: No such file or directory in C:\Users\je
sde_000\Desktop\learning-laravel-5\bootstrap\autoload.php on line 17
PHP Fatal error: require(): Failed opening required 'C:\Users\jesde_000\Desktop
\learning-laravel-5\bootstrap../vendor/autoload.php' (include_path='.;C:\php\pea
r') in C:\Users\jesde_000\Desktop\learning-laravel-5\bootstrap\autoload.php on l
ine 17
Fatal error: require(): Failed opening required 'C:\Users\jesde_000\Desktop\lear
ning-laravel-5\bootstrap../vendor/autoload.php' (include_path='.;C:\php\pear') i
n C:\Users\jesde_000\Desktop\learning-laravel-5\bootstrap\autoload.php on line 1
7
我在过去使用Laravel 4实例时没有遇到任何问题,但是这个错误似乎应该很容易解决,但无法弄清楚如何。有没有人对此有任何见解?
答案 0 :(得分:0)
我没有使用行尾的--prefer-dist
标志来安装软件包。因此,供应商文件夹根本不存在。现在就像一个魅力。