当我对作曲家进行更新时,出现如下所示的问题,您能告诉我如何选择版本吗?
Problem 1
- Installation request for laravel/framework 5.0.0 -> satisfiable by laravel/framework[v5.0.0].
- nesbot/carbon 1.39 requires symfony/translation ^4.0 -> satisfiable by symfony/translation[4.0.x-dev, 4.1.x-dev, 4.2.x-dev, 4.3.x-dev, 4.4.x-dev].
- Can only install one of: symfony/translation[4.0.x-dev, 2.6.x-dev].
- Can only install one of: symfony/translation[4.1.x-dev, 2.6.x-dev].
- Can only install one of: symfony/translation[4.2.x-dev, 2.6.x-dev].
- Can only install one of: symfony/translation[4.3.x-dev, 2.6.x-dev].
- Can only install one of: symfony/translation[4.4.x-dev, 2.6.x-dev].
- laravel/framework v5.0.0 requires nesbot/carbon ~1.0 -> satisfiable by nesbot/carbon[1.39].
- Installation request for symfony/translation 2.6.x-dev -> satisfiable by symfony/translation[2.6.x-dev].
答案 0 :(得分:0)
在composer.json文件中,您可能需要2.6版的symfony / translation。 将symfony / translation更新为^ 4.0,您应该会很好