jolicode / harvest-php-api

🌾 A Harvest API PHP Client
MIT License
22 stars 6 forks source link

Composer require error #8

Closed mtotaro-boraso closed 5 years ago

mtotaro-boraso commented 5 years ago

When I execute the command

composer require php-http/curl-client guzzlehttp/psr7 php-http/message

the system retrieve the error:

Your requirements could not be resolved to an installable set of packages.

Here the complete log:


Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - jane-php/open-api v4.0.0 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.0.1 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.0.4 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.1.0 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.2.0 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.3.0 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/open-api v4.4.0 requires jane-php/json-schema-runtime ^4.0 -> satisfiable by jane-php/json-schema-runtime[v4.0.0, v4.0.1, v4.0.2, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].
    - jane-php/json-schema-runtime v4.0.0 requires league/uri ^4.2 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3].
    - jane-php/json-schema-runtime v4.0.1 requires league/uri ^4.2 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3].
    - jane-php/json-schema-runtime v4.0.2 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - jane-php/json-schema-runtime v4.0.4 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - jane-php/json-schema-runtime v4.1.0 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - jane-php/json-schema-runtime v4.2.0 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - jane-php/json-schema-runtime v4.3.0 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - jane-php/json-schema-runtime v4.4.0 requires league/uri ^4.2|^5.3 -> satisfiable by league/uri[4.2.0, 4.2.1, 4.2.2, 4.2.3, 5.3.0].
    - league/uri 5.3.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - league/uri 4.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - league/uri 4.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - league/uri 4.2.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - league/uri 4.2.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - Installation request for jane-php/open-api ^4.0 -> satisfiable by jane-php/open-api[v4.0.0, v4.0.1, v4.0.4, v4.1.0, v4.2.0, v4.3.0, v4.4.0].

Installation failed, reverting ./composer.json to its original content.```
welcoMattic commented 5 years ago

Hi!

It seems the complete log indicates that "the requested PHP extension intl is missing from your system". You must install it before running composer require php-http/curl-client guzzlehttp/psr7 php-http/message.

mtotaro-boraso commented 5 years ago

Thanks!