symfony – 该软件包在稳定版本中不可用

发布时间:2022-04-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了symfony – 该软件包在稳定版本中不可用脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
以下情况:

> app需要在dev版本中使用andig / dbcopy:
composer需要和/ dbcopy:dev-master
> andig / dbcopy需要symfony / consolein dev版本(由于2.5中的错误):

"require": {
    "doctrine/dbal": "2.4.*","symfony/console": "2.6.*@dev"
},

现在,当使用composer require向应用程序添加andig / dbcopy时,composer会抱怨稳定性:

Your requirements Could not be resolved to an installable set of packages.

  PRoblem 1
    - Installation request for andig/dbcopy dev-master -> satisfiable by andig/dbcopy[dev-master].
    - andig/dbcopy dev-master requires symfony/console 2.6.*@dev -> 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.

没有定义最小稳定性设置,应用程序已经依赖于dev-master包.

我已经阅读了https://groups.google.com/forum/#!topic/composer-dev/_g3ASeIFlrc/discussion,但我仍然感到困惑的是,尽管作曲无法安装

>明确定义所有稳定性设置
>应用程序本身已经对“dev-master”有另一种依赖吗?

解决方法

@H_304_28@ 刚刚放:

"symfony/console": "2.6.*@dev"

在你的主要composer.json中.您必须直接覆盖稳定性要求.

@H_777_40@

脚本宝典总结

以上是脚本宝典为你收集整理的symfony – 该软件包在稳定版本中不可用全部内容,希望文章能够帮你解决symfony – 该软件包在稳定版本中不可用所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。