沃梦达 / 编程问答 / php问题 / 正文

如何解决软件包安装过程中Laravel中的拼接错误

How to solve Guzzle Error in Laravel during package installation(如何解决软件包安装过程中Laravel中的拼接错误)

本文介绍了如何解决软件包安装过程中Laravel中的拼接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试安装程序包,但显示漏洞错误问题%1和当前项目要求

 "require": {
        "php": "^7.2",
        "fideloper/proxy": "^4.0",
        "guzzlehttp/guzzle": "^7.0",
        "guzzlehttp/psr7": "^1.6",
        "laravel/framework": "^6.2",
        "laravel/tinker": "^2.0",
        "php-http/curl-client": "^2.1"
    }, 

 Problem 1
    - Installation request for edujugon/laravel-google-ads ^1.2 -> satisfiable by edujugon/laravel-google-ads[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - Conclusion: install guzzlehttp/guzzle 6.5.x-dev
    - Installation request for guzzlehttp/guzzle (locked at 7.0.1, required as ^7.0) -> edujugon by guzzlehttp/guzzle[7.0.1].

推荐答案

只需允许6.5

";guzzlehttp/guzzy";:^6.5|^7.0.1";,

这篇关于如何解决软件包安装过程中Laravel中的拼接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何解决软件包安装过程中Laravel中的拼接错误