当我运行composer.phar安装我有这样的错误:symfony的2.0升级到2.1误差加载的symfony包
[RuntimeException的] 在http://packagist.org无法加载包的symfony /框架标版: UnexpectedValueException]无法解析版本约束^ 2.4.8:无效的版本字符串 “^ 2.4.8”
我用作曲家1.0.0-alpha7,我升级我的symfony项目2.0至2.1
ŧ他是我的composer.json文件:
{ “名”: “symfony中/框架标准版”, “许可证”: “麻省理工学院”, “类型”: “计划”, “的说明“道: ”\“ 的Symfony标准版\” 分配”,
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.1.*"
},
"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"minimum-stability": "dev",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install":"symlink"
}
}
你有一个想法?
“S'il VOUS编海报VOTRE问题EN英语留言Merci!”。 [<==](https://translate.google.com/m/translate)“*请用英文发表您的问题!谢谢。*” –
好的我翻译了我的问题 – clunaje
好的我发现一个问题:我删除了“最小稳定性“:我的composer.json的”dev“ – clunaje