zoukankan      html  css  js  c++  java
  • git 拖下laravel 代码后报错 Warning: require(D:WWWlaravelootstrap/../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%)

    重装完成



  • 相关阅读:
    spring data实现自定义的repository实现类,实现跟jpa联通
    SQLYog快捷键大全
    JSP 中EL表达式用法详解
    java中的标记接口
    单元测试中快速执行某个方法
    Spring Boot 以 jar 包方式运行在后台
    Spring Data JPA
    扩展spring data jpa的数据更新方法时注意事项
    在Spring Data JPA 中使用Update Query更新实体类
    高速创建和mysql表相应的java domain实体类
  • 原文地址:https://www.cnblogs.com/yehuisir/p/10442975.html
Copyright © 2011-2022 走看看