本文介绍了尝试使作曲家获取最新的软件包版本时,如何解决未找到软件包的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在作曲家中使用symfony2。
I am using symfony2 with composer. http://getcomposer.org/doc/04-schema.md
我希望对于composer.json中的所有插件,我总是得到软件包的最新版本
i want that for all the plugins in composer.json , i always get the latest build of the package
我收到错误
"php": ">=5.3.3",
"symfony/symfony": "dev-master",
"doctrine/orm": ">=2.2.3,<dev-master",
"doctrine/doctrine-bundle": "dev-master",
"twig/extensions": "dev-master*",
"symfony/assetic-bundle": "dev-master",
"symfony/swiftmailer-bundle": "dev-master",
"symfony/monolog-bundle": "dev-master",
"sensio/distribution-bundle": "dev-master",
"sensio/framework-extra-bundle": "dev-master",
"sensio/generator-bundle": "dev-master",
"jms/security-extra-bundle": "dev-master",
"jms/di-extra-bundle": "dev-master",
"doctrine/doctrine-migrations-bundle": "dev-master",
"jms/serializer-bundle": "dev-master",
"genemu/form-bundle": "dev-master",
"stof/doctrine-extensions-bundle": "dev-master",
"friendsofsymfony/user-bundle": "*"
错误是
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package twig/extensions dev-master* could not be found.
推荐答案
用于树枝/扩展名的版本是 dev-master
,但是您使用了 dev-master *
。最后删除通配符,它应该会更好。
The version to use for twig/extensions is dev-master
, but you used dev-master*
. Remove the wildcard at the end and it should work better.
这篇关于尝试使作曲家获取最新的软件包版本时,如何解决未找到软件包的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!