2
基本上我有這個composer.json文件:無法與作曲家安裝PHPUnit
{
"name": "phpunit/phpunit",
"require": {
"phpunit/phpunit": "3.8.*@dev"
},
"authors": [
{
"name": "Sebastian Bergmann",
"email": "[email protected]"
}
]
}
,當我去跑「作曲家安裝」我得到以下錯誤:
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpunit/phpunit 3.8.*@dev -> satisfiable by phpunit/phpunit[3.8.x-dev].
- phpunit/phpunit 3.8.x-dev requires phpunit/php-code-coverage 1.3.*@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.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我有不知道這意味着什麼?由於
非常感謝,即使我忽視了名稱「sebastian begmann」LOl可怕的愚蠢!我從中學到的一件事就是名字。所以我簡單地重命名了這個項目,當然還有我自己的名字,並且指定了解決問題的最小穩定性。乾杯 – iTenzo