当我运行composer update时,出现以下错误:
Your requirements could not be resolved to an installable set of packages.
您可以在下面找到问题/输出的详细说明
Problem 1
- Conclusion: don't install laravel/framework v4.2.17
- Conclusion: remove laravel/framework v4.2.16
- Conclusion: don't install laravel/framework v4.2.16
- Conclusion: don't install laravel/framework v4.2.15
- Conclusion: don't install laravel/framework v4.2.14
- Conclusion: don't install laravel/framework v4.2.13
- Conclusion: don't install laravel/framework v4.2.12
- Conclusion: don't install laravel/framework v4.2.11
- Conclusion: don't install laravel/framework v4.2.10
- Conclusion: don't install laravel/framework v4.2.9
- Conclusion: don't install laravel/framework v4.2.8
- Conclusion: don't install laravel/framework v4.2.7
- Conclusion: don't install laravel/framework v4.2.6
- Conclusion: don't install laravel/framework v4.2.5
- Conclusion: don't install laravel/framework v4.2.4
- Conclusion: don't install laravel/framework v4.2.3
- Conclusion: don't install laravel/framework v4.2.2
- Conclusion: don't install laravel/framework v4.2.1
- torann/geoip dev-master requires illuminate/support ~5.0 -> satisfiable by illuminate/support[v5.0.0, v5.0.4].
- torann/geoip dev-master requires illuminate/support ~5.0 -> satisfiable by illuminate/support[v5.0.0, v5.0.4].
- don't install laravel/framework v4.2.0|don't install illuminate/support v5.0.0
- don't install laravel/framework v4.2.0|don't install illuminate/support v5.0.4
- Installation request for laravel/framework 4.2.* -> satisfiable by laravel/framework[v4.2.0, v4.2.1, v4.2.10, v4.2.11, v4.2.12, v4.2.13, v4.2.14, v4.2.15, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- Installation request for torann/geoip dev-master -> satisfiable by torann/geoip[dev-master].
我不清楚应该怎么做才能解决这个问题?我应该降级laravel吗?我目前在4.2.16
答案 0 :(得分:2)
问题似乎是torann/geoip
(在dev-master)需要Laravel 5.0。您可以通过在composer.json
文件中指定旧版本来解决此问题。
如github page所述,需要:
"torann/geoip": "0.1.*@dev"