Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer reports the error for the newest aws-sdk-php-laravel #229

Open
ToshihikoMakita opened this issue Nov 25, 2020 · 0 comments
Open

Comments

@ToshihikoMakita
Copy link

Here is the log. Any ideas?

PS D:\My_Documents\Proj\Elasticsearch\index-gen> composer require aws/aws-sdk-php-laravel
Using version ^3.6 for aws/aws-sdk-php-laravel
./composer.json has been created
Running composer update aws/aws-sdk-php-laravel
Loading composer repositories with package information
Updating dependencies
Lock file operations: 22 installs, 0 updates, 0 removals

  • Locking aws/aws-sdk-php (3.164.0)
  • Locking aws/aws-sdk-php-laravel (3.6.0)
  • Locking doctrine/inflector (2.0.3)
  • Locking guzzlehttp/guzzle (7.2.0)
  • Locking guzzlehttp/promises (1.4.0)
  • Locking guzzlehttp/psr7 (1.7.0)
  • Locking illuminate/collections (v8.16.0)
  • Locking illuminate/contracts (v8.16.0)
  • Locking illuminate/macroable (v8.15.0)
  • Locking illuminate/support (v8.16.0)
  • Locking mtdowling/jmespath.php (2.6.0)
  • Locking nesbot/carbon (2.41.5)
  • Locking psr/container (1.0.0)
  • Locking psr/http-client (1.0.1)
  • Locking psr/http-message (1.0.1)
  • Locking psr/simple-cache (1.0.1)
  • Locking ralouphie/getallheaders (3.0.3)
  • Locking symfony/polyfill-mbstring (v1.20.0)
  • Locking symfony/polyfill-php80 (v1.20.0)
  • Locking symfony/translation (v5.1.8)
  • Locking symfony/translation-contracts (v2.3.0)
  • Locking voku/portable-ascii (1.5.6)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 22 installs, 0 updates, 0 removals
  • Downloading illuminate/macroable (v8.15.0)
  • Downloading illuminate/collections (v8.16.0)
  • Downloading illuminate/support (v8.16.0)
  • Installing voku/portable-ascii (1.5.6): Extracting archive
  • Installing symfony/translation-contracts (v2.3.0): Extracting archive
  • Installing symfony/polyfill-php80 (v1.20.0): Extracting archive
  • Installing symfony/polyfill-mbstring (v1.20.0): Extracting archive
  • Installing symfony/translation (v5.1.8): Extracting archive
  • Installing nesbot/carbon (2.41.5): Extracting archive
  • Installing illuminate/macroable (v8.15.0): Extracting archive
  • Installing psr/simple-cache (1.0.1): Extracting archive
  • Installing psr/container (1.0.0): Extracting archive
  • Installing illuminate/contracts (v8.16.0): Extracting archive
  • Installing illuminate/collections (v8.16.0): Extracting archive
  • Installing doctrine/inflector (2.0.3): Extracting archive
  • Installing illuminate/support (v8.16.0): Extracting archive
  • Installing mtdowling/jmespath.php (2.6.0): Extracting archive
  • Installing ralouphie/getallheaders (3.0.3): Extracting archive
  • Installing psr/http-message (1.0.1): Extracting archive
  • Installing guzzlehttp/psr7 (1.7.0): Extracting archive
  • Installing guzzlehttp/promises (1.4.0): Extracting archive
  • Installing psr/http-client (1.0.1): Extracting archive
  • Installing guzzlehttp/guzzle (7.2.0): Extracting archive
  • Installing aws/aws-sdk-php (3.164.0): Extracting archive
    18 package suggestions were added by new dependencies, use composer suggest to see details.
    Generating autoload files
    8 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    PS D:\My_Documents\Proj\Elasticsearch\index-gen> composer require elasticsearch/elasticsearch
    Using version ^7.10 for elasticsearch/elasticsearch
    ./composer.json has been updated
    Running composer update elasticsearch/elasticsearch
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 5 installs, 0 updates, 0 removals
  • Locking elasticsearch/elasticsearch (v7.10.0)
  • Locking ezimuel/guzzlestreams (3.0.1)
  • Locking ezimuel/ringphp (1.1.2)
  • Locking psr/log (1.1.3)
  • Locking react/promise (v2.8.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 5 installs, 0 updates, 0 removals
  • Installing psr/log (1.1.3): Extracting archive
  • Installing react/promise (v2.8.0): Extracting archive
  • Installing ezimuel/guzzlestreams (3.0.1): Extracting archive
  • Installing ezimuel/ringphp (1.1.2): Extracting archive
  • Installing elasticsearch/elasticsearch (v7.10.0): Extracting archive
    1 package suggestions were added by new dependencies, use composer suggest to see details.
    Generating autoload files
    8 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    PS D:\My_Documents\Proj\Elasticsearch\index-gen> composer require elasticquent/elasticquent
    Using version ^1.0 for elasticquent/elasticquent
    ./composer.json has been updated
    Running composer update elasticquent/elasticquent
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

Problem 1
- elasticquent/elasticquent v1.0.0 requires illuminate/support ~4.2 -> found illuminate/support[v4.2.1, ..., v4.2.17] but the package is fixed to v8.16.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- elasticquent/elasticquent[v1.0.1, ..., v1.0.4] require illuminate/support ~4.2|~5.0 -> found illuminate/support[v4.2.1, ..., v4.2.17, v5.0.0, ..., v5.8.36] but the package is fixed to v8.16.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- elasticquent/elasticquent[v1.0.5, ..., v1.0.6] require nesbot/carbon ~1.0 -> found nesbot/carbon[1.0.0, ..., 1.39.1] but the package is fixed to 2.41.5 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- elasticquent/elasticquent v1.0.7 requires elasticsearch/elasticsearch ~6.1 -> found elasticsearch/elasticsearch[v6.1.0, ..., v6.7.2] but it conflicts with your root composer.json require (^7.10).
- Root composer.json requires elasticquent/elasticquent ^1.0 -> satisfiable by elasticquent/elasticquent[v1.0.0, ..., v1.0.7].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS D:\My_Documents\Proj\Elasticsearch\index-gen>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant