當我運行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