0
我創建了一個作曲家包與此composer.json作曲家將不會安裝依賴
{
"name": "webiny/cache",
"type": "library",
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"jamm/memory": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "4.1.*"
},
"autoload": {
"psr-4": {
"Webiny\\Component\\Cache\\": ""
}
},
"extras": {
"branches": {
"dev-master": "~0.9"
}
}
}
我在與解決jamm/memory
包一個問題,當我做了作曲家安裝此文件:
{
"require": {
"webiny/cache": "dev-master"
}
}
我得到的錯誤是
Problem 1
- Installation request for webiny/cache dev-master -> satisfiable by webiny/cache[dev-master].
- webiny/cache dev-master requires jamm/memory dev-master -> no matching package found.
當我嘗試安裝jamm/memory
個如果工作正常:
{
"require": {
"jamm/memory": "dev-master"
}
}
我有minimum-stability
標誌webiny\cache
設置爲dev
。我也嘗試設置發佈到@dev
jamm/memory
依賴......沒有幫助。
我搞不清楚我做錯了什麼。