Composer不安装需要dev-master稳定性

时间:2014-08-03 09:15:05

标签: php composer-php requires

我有三个项目:

包含网站的主要项目:

{
    "name": "vendor/example.com",
    "type": "project",
    "minimum-stability": "dev",
    "require": {
        "vendor/constructor": "dev-master"
    }
}

构造函数库

{
    "name": "vendor/constructor",
    "minimum-stability": "dev",
    "type": "library",
    "require": {
        "vendor/framework": "dev-master@dev"
    }
}

框架库

{
    "name": "vendor/framework",
    "type": "library",
    "minimum-stability": "dev",
    "require": {
        "zendframework/zendframework": ">=2.3"
    }
}

当我在框架中运行composer install时,everithink是可以的,当我在构造函数中运行时,everithing也很好。但是如果我在带有网站的项目中运行composer install我就会出错:

  Problem 1
- vendor/constructor dev-master requires vendor/framework dev-master@dev -> no matching package found.
- vendor/constructor dev-master requires vendor/framework dev-master@dev -> no matching package found.
- Installation request for vendor/constructor dev-master -> satisfiable by vendor/constructor[dev-master].

那么我该如何解决这个问题呢?

0 个答案:

没有答案