通过此错误安装管理包时:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- sonata-project/admin-bundle 2.3.7 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.6 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.5 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.4 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.3 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.2 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.1 requires sensio/generator-bundle ~2.3 -> no matching package found.
- sonata-project/admin-bundle 2.3.0 requires sensio/generator-bundle ~2.3 -> no matching package found.
- Installation request for sonata-project/admin-bundle ^2.3 -> satisfiable by sonata-project/admin-bundle[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7].
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.但是,我安装了sensio/generator-bundle,有什么问题吗?我该如何解决这个问题呢?
我的symfony是3.0.1
发布于 2016-01-16 07:20:31
我最近在安装sonata/admin-bundle时遇到了这种问题。
您可以使用dev依赖项,直到问题得到解决。
使用composer require sonata-project/admin-bundle:dev-master
也许安装将需要更新相关的包,如sonata/user- bundle,使用该包或@dev所需的版本。
发布于 2016-01-16 03:16:51
看看github https://github.com/sonata-project/SonataAdminBundle/issues/3467上的这篇文章和这篇关于sonata项目开发状态的文档。https://docs.google.com/spreadsheets/d/1fSpS10nzlEj9HE-GdZ-BHcxileEzHwRIzLlNfdNtZ2k/edit#gid=0。因此,如果可以,最好将symfony 2.7保留为Sonata Admin集成,至少目前是这样。
发布于 2016-01-15 23:18:04
索纳塔团队为与Symfony3兼容所做的工作,但这项工作显然还没有完成。
我在gitHub或文档中找不到2.4版本的SonataAdminBundle
https://stackoverflow.com/questions/34813549
复制相似问题