Global installation of wp-cli-ssh returns following error:

$ composer global require x-team/wp-cli-ssh dev-master
Changed current directory to /Users/name/.composer

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  **Problem 1
    - The requested package xwp/wp-cli-ssh 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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion** for more details.  

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

The composer.json file looks like the following:

{
   "minimum-stability":"dev",
   "require":{

   },
   "config":{
      "bin-dir":"bin",
      "vendor-dir":"vendor"
   },
   "repositories":{
      "wp-cli":{
         "type":"composer",
         "url":"http://wp-cli.org/package-index/ "
      }
   }
}

Looking forward for a guidance on What I am missing in this.

0

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *