git 拖下laravel 代码后报错 Warning: require(D:\WWW\laravel\bootstrap/../vendor/autoload.php

omposer    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%)

重装完成

原文地址:https://www.cnblogs.com/yehuisir/p/10442975.html

时间: 2024-10-30 01:58:02

git 拖下laravel 代码后报错 Warning: require(D:\WWW\laravel\bootstrap/../vendor/autoload.php的相关文章

git命令行在windows中报错WARNING: terminal is not fully functional

今天在windows的PowerShell中执行git log命令的时候报错: WARNING: terminal is not fully functional 网上查找方法,最后 1.打开windows的高级系统设置 2.环境变量 3.系统变量中新建一个变量名为TERM,值为cygwin 重试一下好了

git命令行在windows中报错WARNING: terminal is not fully f

今天在windows的cmd窗口中执行git stash list命令的时候报错: [html] view plaincopy WARNING: terminal is not fully functional 百度了一下,解决方法如下: 1.打开windows的高级系统设置 2.环境变量 3.系统变量中新建一个变量名为TERM,值为cygwin 重新执行git命令,ok 版权声明:本文为博主原创文章,未经博主允许不得转载.

eclipse修改java代码后报错: java.lang.OutOfMemoryError: PermGen space

由于在eclipse中运行项目后,我们又重新修改了某个java类,导致tomcat会重新加载这个项目所有的class.jar,多次加载后由于分配的存储空间有限,就导致了:java.lang.OutOfMemoryError: PermGen space  错误的发生.这是我个人的理解 我的解决办法是在tomcat的server.xml这样配置: <Context docBase="test" path="/test" reloadable="fals

Laravel的Warning: require..../vendor/autoload.php错误的解决办法

Warning: require(D:\www\laravel-canvas\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\www\laravel-canvas\bootstrap\autoload.php on line 17 Fatal error: require(): Failed opening required 'D:\www\laravel-canv

Laravel访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire

错误信息:`Warning: require(/http/www.mywakavLee.cn/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /http/www.mywakavLee.cn/bootstrap/autoload.php on line 17 Fatal error: require(): Failed opening required '/http/www

Laravel5.6安裝:Warning: require(../vendor/autoload.php): failed to open stream: No such file or directory

在phpstudy下使用composer+laravel安装器的方式安装了Laravel,但是访问的时候报错: Warning: require(D:\phpstudy\WWW\public\myblog\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in .../autoload.php on line 17 通过百度了解到在项目根目录运行composer update命令

electron中JS报错:require is not defined的问题解决方法

Electron已经发布了6.0正式版,升级后发现原来能运行的代码报错提示require is not defined 解决办法: 修改创建BrowserWindow部分的相关代码,设置属性webPreferences.nodeIntegration为 true let win = new BrowserWindow({ webPreferences: { nodeIntegration: true } }) 在原有的new BrowserWindow基础上加入 webPreferences:

git push上传代码到gitlab上,报错401或403

之前部署的gitlab代码托管平台,采用ssh方式连接gitlab,在客户机上产生公钥上传到gitlab的SSH-Keys里,则git clone下载和git push上传都没问题,这种方式很安全. 后来应开发同事要求采用http方式连接gitlab,那么首先将project工程的"Visibility Level"改为"Public"公开模式,并且要保证gitlab的http端口像客户机开放. 后面发现了一个问题:http方式连接gitlab后,git clone

linux(centos)下安装git并上传代码些许步骤(亲自验证过的步骤)

 以前听说了好多次github,但直到最近才第一次学习使用github来托管自己在linux下的代码!说实话,我自己在使用的时候从网上查了好多教程,但总觉得难以掌握(步骤过于繁琐),自己操作的时候还是蛮复杂的!(老实说是自己的理解能力不够)不过最终还是通过自己的摸索,学会了装载github并使用命令上传代码进行托管.     首先在使用git托管自己的代码之前,先要去git官方网站注册一个账号(注册的过程可以参考教程上的指导)步骤如下: (1)登录网址:https://github.com  填