• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

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

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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

 

重装完成




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
php数字补零的两种方法发布时间:2022-07-10
下一篇:
一个php技术栈后端猿的知识储备大纲发布时间:2022-07-10
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap