我有三个项目:
带站点的主要项目:
{
"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 没问题,当我在构造函数中运行时,一切都很好。但是,如果我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].
那么我该如何解决这个问题呢?