1
我的作曲家JSON鍵「要求」:索納塔新聞捆綁作曲家需要錯誤
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.7.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.4",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "[email protected]",
"sonata-project/admin-bundle": "^2.3",
"doctrine/doctrine-cache-bundle": "^1.0",
"knplabs/knp-paginator-bundle": "^2.4",
"excelwebzone/recaptcha-bundle": "^1.4",
"rusdteam/php-js": "dev-master",
"gries/rcon": "^0.0.3",
"friendsofsymfony/comment-bundle": "^2.0",
"egeloen/ckeditor-bundle": "dev-master",
"idma/robokassa": "dev-master",
"sonata-project/news-bundle": "dev-master",
"sonata-project/doctrine-orm-admin-bundle": "dev-master",
"sonata-project/easy-extends-bundle": "dev-master",
"sonata-project/classification-bundle": "[email protected]"
},
在我加入奏鳴曲新聞束結束,但之後,我跑「的作曲家更新」這個返回錯誤:
Problem 1
- Installation request for sonata-project/news-bundle dev-master -> satisfiable by sonata-project/news-bundle[dev-master].
- sonata-project/news-bundle dev-master requires sonata-project/datagrid-bundle ~2.2 -> no matching package found.
Problem 2
- Installation request for sonata-project/doctrine-orm-admin-bundle dev-master -> satisfiable by sonata-project/doctrine-orm-admin-bundle[dev-master].
- sonata-project/doctrine-orm-admin-bundle dev-master requires sonata-project/admin-bundle [email protected] -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我應該爲它添加依賴關係嗎?
但是現在這種輸出我跟着錯誤: http://pastebin.com/rQ4CSv9P –
好吧,我調整了一些更多的版本限制。添加了sonata-project/datagrind-bundle dev-master,ckeditor-bundle將*和friendsofsymfony/user-bundle添加到*。使用*通配符並不好,但讓作曲家做查找,並在以後更具體。我已經測試過它 - 需要很長時間才能解決,但工作。 –