【发布时间】:2018-11-25 11:39:52
【问题描述】:
我想安装一个带有“composer require rpsimao/invoicexpress-api”的包,但出现错误:
Using version ^0.5.6 for rpsimao/invoicexpress-api
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for rpsimao/invoicexpress-api ^0.5.6 -> satisfiable by rpsimao/invoicexpress-api[0.5.6].
- rpsimao/invoicexpress-api 0.5.6 requires laravel/framework 5.4.* -> satisfiable by laravel/framework[5.4.x-dev, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.12, v5.4.13, v5.4.14, v5.4.15, v5.4.16, v5.4.17, v5.4.18, v5.4.19, v5.4.2, v5.4.20, v5.4.21, v5.4.22, v5.4.23, v5.4.24, v5.4.25, v5.4.26, v5.4.27, v5.4.28, v5.4.29, v5.4.3, v5.4.30, v5.4.31, v5.4.32, v5.4.33, v5.4.34, v5.4.35, v5.4.36, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
你知道怎么解决吗?我使用的是 laravel 5.5,似乎该软件包支持该版本,但出现错误。
【问题讨论】:
-
能发一下 compose.json 文件吗,laravel 版本是多少?
-
我的版本是 5.5。
-
它需要 5.4.*
-
谢谢,但上面写着“用 Laravel 5.5.* 测试过”。
标签: laravel