git 拖下laravel 代码后报错 Warning: require(D:\WWW\laravel\bootstrap/../vendor/autoload.php
2017-11-17 14:51
1151 查看
composer install 执行
Problem 1
- Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (5.5.38) does not satisfy that requirement.
报错了,接着
删除 composer.lock 文件,重新执行 composer install,这样就能重新生成 composer.lock 文件了。
然而
Problem 1
- laravelista/ekko 1.4.0 requires php >=5.6.0 -> your PHP version (5.5.38) does not satisfy that requirement.
- laravelista/ekko 1.3.3 requires php >=5.6.0 -> your PHP version (5.5.38) does not satisfy that requirement.
php版本不匹配,接着
composer install --ignore-platform-reqs 忽略版本匹配
oading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 113 installs, 0 updates, 0 removals
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
- Installing guzzlehttp/guzzle (6.3.0): Downloading (100%)
- Installing league/oauth1-client (1.7.0): Downloading (100%)
- Installing symfony/event-dispatcher (v3.3.13): Downloading (100%)
- Installing guzzle/guzzle (v3.8.1): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.6.0): Downloading (100%)
- Installing vlucas/phpdotenv (v2.4.0): Downloading (100%)
重装完成
Problem 1
- Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (5.5.38) does not satisfy that requirement.
报错了,接着
删除 composer.lock 文件,重新执行 composer install,这样就能重新生成 composer.lock 文件了。
然而
Problem 1
- laravelista/ekko 1.4.0 requires php >=5.6.0 -> your PHP version (5.5.38) does not satisfy that requirement.
- laravelista/ekko 1.3.3 requires php >=5.6.0 -> your PHP version (5.5.38) does not satisfy that requirement.
php版本不匹配,接着
composer install --ignore-platform-reqs 忽略版本匹配
oading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 113 installs, 0 updates, 0 removals
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
- Installing guzzlehttp/guzzle (6.3.0): Downloading (100%)
- Installing league/oauth1-client (1.7.0): Downloading (100%)
- Installing symfony/event-dispatcher (v3.3.13): Downloading (100%)
- Installing guzzle/guzzle (v3.8.1): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.6.0): Downloading (100%)
- Installing vlucas/phpdotenv (v2.4.0): Downloading (100%)
重装完成
相关文章推荐
- Warning: require(D:\wamp\www\glink-smart\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\glink-smart\bootstrap\autoload.php on line 1
- Laravel访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
- Laravel访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
- Laravel 5 Failed opening required bootstrap/../vendor/autoload.php 报错
- Yii2访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
- 每天laravel[002]-自动加载函数流程之bootstrap autoload.php
- Warning: require(/www/101/eduask_net/ThinkPHP/Library/Think/Think.class.php): failed to open stream:
- [李景山php]每天laravel[002]-自动加载函数流程之bootstrap autoload.php
- [李景山php]每天laravel[003]-自动加载函数流程之vendor autoload.php
- 每天laravel[002]-自动加载函数流程之bootstrap autoload.php
- Warning: No such file or directory in D:\WWW\XXX\vendor\composer\autoload_real.ph
- Warning: require_once(lib/Mage/Autoload/Simple.php)
- 每天laravel[002]-自动加载函数流程之bootstrap autoload.php
- Laravel No such file or directory in /bootstrap/autoload.php on line 17
- Failed opening required 'bootstrap/../vendor/autoload.php'
- PHP require 绝对路径 autoload
- PHP Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/bin/composer/vendor/s
- laravel框架从blade模板页面向php逻辑代码提交数据(传值)的位置
- PHP laravel系列之bootstrap美化