英文:
PHP Packages Cloudinary and Semaphore Conflict
问题
有人可以帮我解决这个问题吗?是否有一种方法可以在安装 Semaphore 后安装 Cloudinary?尝试在安装 Semaphore 后安装 Cloudinary 时显示以下错误。反之亦然。
Semaphore 是一个短信 API。
> 问题 1
> 根 composer.json 需要 cloudinary/cloudinary_php ^2.11 -> 可满足条件的版本是 cloudinary/cloudinary_php[2.11.0]。
> cloudinary/cloudinary_php 2.11.0 需要 guzzlehttp/guzzle ^6.5.8|^7.4.5 -> 发现 guzzlehttp/guzzle[6.5.8, 7.4.5, ..., 7.7.0],但该软件包已被部分更新固定为 6.0.2(锁定文件版本),并且该版本不匹配。请确保将其列为更新命令的参数。
我尝试更新 guzzlehttp,并且还尝试在安装 Semaphore 之前安装 Cloudinary,但仍然出现错误。
尝试更新 guzzlehttp 时出错
> 问题 1
> 根 composer.json 需要 guzzlehttp/guzzle 7.4.5,发现 guzzlehttp/guzzle[7.4.5],但它们未加载,可能是因为与另一个要求冲突。
> 问题 2
> kickstartph/semaphore-client 锁定版本为 0.5,未请求更新此软件包。
> kickstartph/semaphore-client 0.5 需要 guzzlehttp/guzzle 6.0.2 -> 发现 guzzlehttp/guzzle[6.0.2],但它与您的根 composer.json 要求(7.4.5)冲突。
如果有人能帮忙,谢谢!
英文:
Can someone help me with this? Is there a way to install Cloudinary With Semaphore When trying to install cloudinary after installing semaphore it shows this error. And also Vice Versa.
Btw Semaphore is a SMS API
> Problem 1
> Root composer.json requires cloudinary/cloudinary_php ^2.11 -> satisfiable by cloudinary/cloudinary_php[2.11.0].
> cloudinary/cloudinary_php 2.11.0 requires guzzlehttp/guzzle ^6.5.8|^7.4.5 -> found guzzlehttp/guzzle[6.5.8, 7.4.5, ..., 7.7.0] but the package is fixed to 6.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
I tried updating the guzzlehttp and also tried to install cloudinary first before semaphore and still gets the error.
Error when i try to update guzzlehttp
> Problem 1
> Root composer.json requires guzzlehttp/guzzle 7.4.5, found guzzlehttp/guzzle[7.4.5] but these were not loaded, likely because it conflicts with another require.
> Problem 2
> kickstartph/semaphore-client is locked to version 0.5 and an update of this package was not requested.
> kickstartph/semaphore-client 0.5 requires guzzlehttp/guzzle 6.0.2 -> found guzzlehttp/guzzle[6.0.2] but it conflicts with your root composer.json require (7.4.5).
Thank you if anyone can help.
答案1
得分: 1
你能否更新 kickstartph/semaphore-client 的依赖关系?
否则,您应该能够将 composer 中的 guzzle 依赖回滚到 6.0.2 版本。
英文:
Are you able to update the dependency for kickstartph/semaphore-client?
Otherwise, you should be able to roll back the guzzle dependency to 6.0.2 in your composer.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论