Skip to content

Please update the require dependencies #14

@harikt

Description

@harikt

Hi,

I was trying the example : https://github.com/reactphp/whois/blob/master/examples/query.php after installing react/whois

php example.php
PHP Fatal error:  Uncaught Error: Class 'React\EventLoop\Factory' not found in /home/hari/experiments/php/whois/example.php:5
Stack trace:
#0 {main}
  thrown in /home/hari/experiments/php/whois/example.php on line 5

Fatal error: Uncaught Error: Class 'React\EventLoop\Factory' not found in /home/hari/experiments/php/whois/example.php:5
Stack trace:
#0 {main}
  thrown in /home/hari/experiments/php/whois/example.php on line 5

After trying to install react/event-loop it looks dependencies cannot be resolved.

 ✘  ~/experiments/php/whois  composer require react/event-loop
Using version ^0.4.2 for react/event-loop
./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
    - react/socket v0.3.4 requires react/event-loop 0.3.* -> satisfiable by react/event-loop[0.3.x-dev, v0.3.0, v0.3.3, v0.3.4, v0.3.5] but these conflict with your requirements or minimum-stability.
    - react/socket v0.3.4 requires react/event-loop 0.3.* -> satisfiable by react/event-loop[0.3.x-dev, v0.3.0, v0.3.3, v0.3.4, v0.3.5] but these conflict with your requirements or minimum-stability.
    - react/socket v0.3.4 requires react/event-loop 0.3.* -> satisfiable by react/event-loop[0.3.x-dev, v0.3.0, v0.3.3, v0.3.4, v0.3.5] but these conflict with your requirements or minimum-stability.
    - Installation request for react/socket (locked at v0.3.4) -> satisfiable by react/socket[v0.3.4].


Installation failed, reverting ./composer.json to its original content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions