简体   繁体   English

/autoload.php):无法打开流:

[英]/autoload.php): failed to open stream: No such file or directory in

enter image description here 在此处输入图片说明

D:\jasmin\laravel\shop>php artisan serve
PHP Warning:  require(D:\jasmin\laravel\shop/vendor/autoload.php): failed to open stream: No such file or directory in D:\jasmin\laravel\shop\artisan on line 18

Warning: require(D:\jasmin\laravel\shop/vendor/autoload.php): failed to open stream: No such file or directory in D:\jasmin\laravel\shop\artisan on line 18
PHP Fatal error:  require(): Failed opening required 'D:\jasmin\laravel\shop/vendor/autoload.php' (include_path='D:\jasmin\xamp\php\PEAR') in D:\jasmin\laravel\shop\artisan on line 18

Fatal error: require(): Failed opening required 'D:\jasmin\laravel\shop/vendor/autoload.php' (include_path='D:\jasmin\xamp\php\PEAR') in D:\jasmin\laravel\shop\artisan on line 18

Try to run from command line 尝试从命令行运行

composer install 
or composer update

Composer Update 作曲家更新

You just need to run composer update to update your dependencies as they are specified in this file: composer.json . 您只需要运行composer update即可更新此文件中指定的依赖项: composer.json The command will generate vendor/autoload.php , too. 该命令也会生成vendor/autoload.php

Laravel documentation Laravel文档

Laravel utilizes Composer to manage its dependencies. Laravel利用Composer来管理其依赖项。 First, download a copy of the composer.phar . 首先,下载composer.phar的副本。 Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. 获得PHAR归档文件后,可以将其保存在本地项目目录中,也可以移至usr/local/bin以在系统上全局使用它。

On Windows, you can use the Composer Windows installer . 在Windows上,您可以使用Composer Windows安装程序

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 要求(供应商/autoload.php):无法打开 stream:没有这样的文件或目录 - require(vendor/autoload.php): failed to open stream: No such file or directory 作曲家autoload.php无法打开流:没有此类文件或目录 - composer autoload.php failed to open stream: no such file or directory autoload.php问题:无法打开流:没有这样的文件或目录 - autoload.php issue: failed to open stream: no such file or directory 警告:无法打开流:第17行的C:\\ wamp \\ www \\ laravel \\ bootstrap \\ autoload.php中没有此类文件或目录 - Warning: failed to open stream: No such file or directory in C:\wamp\www\laravel\bootstrap\autoload.php on line 17 警告:require_once(Composer/PHPMailer/vendor/phpmailer/phpmailer/src/autoload.php):无法打开流:没有这样的文件或目录 - Warning: require_once(Composer/PHPMailer/vendor/phpmailer/phpmailer/src/autoload.php): failed to open stream: No such file or directory Laravel 4 bootstrap / autoload.php无法打开流 - Laravel 4 bootstrap/autoload.php failed to open stream 无法打开流autoload.php Facebook SDK v4 - Failed to open stream autoload.php Facebook SDK v4 Google Calendar API vendor / autoload.php:打开流失败 - Google Calendar API vendor/autoload.php: failed to open stream phpunit 和 yii - (PHPUnit/Autoload.php):无法打开 stream: - phpunit and yii - (PHPUnit/Autoload.php): failed to open stream: drush失败,autoload.php无法打开流 - drush failing with autoload.php failed to open stream
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM