如何解决软件包安装过程中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";,
相关文章