Can't install
geoidesic opened this issue · comments
Noel da Costa commented
I get the following:
php -v
PHP 5.6.10 (cli) (built: Jul 6 2015 14:28:54)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
noel-mbp16:rxphp noeldacosta$ composer require reactivex/rxphp
Using version ^1.5 for reactivex/rxphp
./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
- Can only install one of: reactivex/rxphp[1.5.0, 1.4.x-dev].
- Can only install one of: reactivex/rxphp[1.5.1, 1.4.x-dev].
- Can only install one of: reactivex/rxphp[1.5.2, 1.4.x-dev].
- Installation request for reactivex/rxphp 1.4.x-dev -> satisfiable by reactivex/rxphp[1.4.x-dev].
- Installation request for reactivex/rxphp ^1.5 -> satisfiable by reactivex/rxphp[1.5.0, 1.5.1, 1.5.2].
Installation failed, reverting ./composer.json to its original content.
Matt Bonneau commented
@geoidesic Can you share your composer.json
?
Noel da Costa commented
It's the one from this repo :). I cloned this repo into a folder and then ran composer require reactivex/rxphp
as per the installation instructions.
David Dan commented
@geoidesic if you cloned the repo, you can just run composer install
Noel da Costa commented
aha.. That flummoxed me but I guess it makes sense.
btw doing so gives a warning:
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
David Dan commented
When you run composer install
directly on the repo, it installs the development dependancies, which is where that warning is coming from. It's safe to ignore.