简体   繁体   English

laravel php软件包冲突

[英]laravel php package conflict

I'd lie to using this lib: https://github.com/toolkito/laravel-social-auto-posting 我撒谎使用这个库: https : //github.com/toolkito/laravel-social-auto-posting

Over a 5.4 Laravel installation. 通过5.4 Laravel安装。 It fail with this mex: 此混合失败:

Problem 1 - Installation request for toolkito/larasap ^1.2 -> satisfiable by toolkito/larasap[V1.2.2]. 问题1-toolkito / larasap的安装请求^ 1.2-> toolkito / larasap可以满足[V1.2.2]。 - Conclusion: remove laravel/framework v5.4.22 - Conclusion: don't install laravel/framework v5.4.22 - toolkito/larasap V1.2.2 requires illuminate/support 5.5.x|5.6.x -> satisfiable by illuminate/support[v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9]. -结论:删除laravel / framework v5.4.22-结论:不要安装laravel / framework v5.4.22-toolkito / larasap V1.2.2需要光照/支持5.5.x | 5.6.x->光照/支持可以满足[v5 .5.0,v5.5.16,v5.5.17,v5.5.2,v5.5.28,v5.5.33,v5.5.34,v5.5.35,v5.5.36,v5.5.37,v5.5.39,v5.5.40,v5.5.41 ,v5.5.43,v5.6.0,v5.6.1,v5.6.10,v5.6.11,v5.6.12,v5.6.13,v5.6.14,v5.6.15,v5.6.16,v5.6.17,v5.6.19,v5 .6.2,v5.6.20,v5.6.21,v5.6.22,v5.6.23,v5.6.24,v5.6.25,v5.6.26,v5.6.27,v5.6.28,v5.6.29,v5.6.3,v5.6.30 ,v5.6.31,v5.6.32,v5.6.33,v5.6.34,v5.6.35,v5.6.36,v5.6.37,v5.6.38,v5.6.4,v5.6.5,v5.6.6,v5.6.7,v5 .6.8,v5.6.9]。

So firstly I try to update Illuminate, by running: 因此,首先我尝试通过运行以下命令来更新Illuminate:

composer require illuminate/support

but again, problems: 但同样,问题是:

Problem 1 - laravelcollective/html v5.4.1 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9] but these conflict with your requirements or minimum-stability. 问题1-laravelcollective / html v5.4.1需要光照/支持5.4。*->可以通过光照/支持[5.4.x-dev,v5.4.0,v5.4.13,v5.4.17,v5.4.19,v5.4.27, v5.4.36,v5.4.9],但这些与您的要求或最低稳定性冲突。 - laravelcollective/html v5.4.1 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9] but these conflict with your requirements or minimum-stability. -laravelcollective / html v5.4.1要求照亮/支持5.4。*->可以通过照亮/支持来满足[5.4.x-dev,v5.4.0,v5.4.13,v5.4.17,v5.4.19,v5.4.27,v5。 4.36,v5.4.9],但这些与您的要求或最低稳定性冲突。 - laravelcollective/html v5.4.1 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9] but these conflict with your requirements or minimum-stability. -laravelcollective / html v5.4.1要求照亮/支持5.4。*->可以通过照亮/支持来满足[5.4.x-dev,v5.4.0,v5.4.13,v5.4.17,v5.4.19,v5.4.27,v5。 4.36,v5.4.9],但这些与您的要求或最低稳定性冲突。 - Installation request for laravelcollective/html (locked at v5.4.1, required as ^5.3.0) -> satisfiable by laravelcollective/html[v5.4.1]. -laravelcollective / html的安装请求(锁定在v5.4.1,要求为^ 5.3.0)-> laravelcollective / html [v5.4.1]可以满足。

I cannot change laravel version due the project that using Gentelella template, what do you suggest me to do for using this package? 由于使用Gentelella模板的项目,我无法更改laravel版本,您建议我使用此软件包做什么?

You are running into a second issue when trying to update illuminate/support. 尝试更新照明/支持时遇到第二个问题。

First: toolkito/larasap V1.2.2 requires illuminate/support 5.5.x|5.6.x 首先: toolkito/larasap V1.2.2 requires illuminate/support 5.5.x|5.6.x

Second: Laravelcollective/html v5.4.1 requires illuminate/support 5.4.* 第二: Laravelcollective/html v5.4.1 requires illuminate/support 5.4.*

You wont be able to use toolkito/larasap V1.2.2 with Laravel 5.4. 您将无法在Laravel 5.4中使用toolkito/larasap V1.2.2

If you update illuminate/support to 5.5/5.6 you'll have to update all your other components for Laravel to work properly, essentially updating Laravel to 5.6 which you cannot do. 如果您将illuminate/support更新为5.5 / 5.6,则必须更新所有其他组件以使Laravel正常工作,实际上是将Laravel更新为5.6,而您做不到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM