2016-09-02 30 views
1

我试图安装一个作曲家包,我不断收到以下错误:作曲:您的要求不能被解析到一个安装包集合

Your requirements could not be resolved to an installable set of packages. 
Problem 1 
    - The requested package rondobley/extended-respect-validation could not be found in any version, there may be a typo in the package name. 

这里是composer.json

{ 
    "minimum-stability": "dev", 
    "require": { 
     "rondobley/extended-respect-validation": "^1.0" 
    } 
} 

而且从作曲家输出安装-vvv:

[email protected]:/code/test$ composer install -vvv 
Reading ./composer.json 
Loading config file ./composer.json 
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid 
Executing command (/code/test): git branch --no-color --no-abbrev -v 
Executing command (/code/test): git describe --exact-match --tags 
Executing command (/code/test): git log --pretty="%H" -n1 HEAD 
Failed to initialize global composer: Composer could not find the config file: /home/vagrant/.composer/composer.json 
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section 
Running 1.2.0 (2016-07-19 01:28:52) with PHP 5.5.38-1~dotdeb+7.1 on Linux/3.2.0-4-amd64 
Loading composer repositories with package information 
Downloading https://packagist.org/packages.json 
Writing /home/vagrant/.composer/cache/repo/https---packagist.org/packages.json into cache 
Updating dependencies (including require-dev) 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2013.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2014.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2015.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2015-10.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2016-01.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2016-04.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2016-07.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cache 
Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-latest.json from cache 
Resolving dependencies through SAT 
Dependency resolution completed in 0.001 seconds 
Your requirements could not be resolved to an installable set of packages. 

    Problem 1 
    - The requested package rondobley/extended-respect-validation could not be found in any version, there may be a typo in the package name. 

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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. 

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. 

的包似乎是罚款我:

https://packagist.org/packages/rondobley/extended-respect-validation

这是一个新的软件包,今天刚刚发布,但已经好几个小时。我也试过composer clearcache,这并没有帮助。我在这里读了很多其他类似的问题,但都没有运气。我是发布作曲家软件包的新手,所以也许我错过了一个简单的步骤?

理想情况下,我想安装版本^ 1.0。

感谢您的帮助提前。

回答

相关问题