R
R
rennameduser_34322021-08-25 16:10:34
Composer
rennameduser_3432, 2021-08-25 16:10:34

Problem with composer install?

Can't run composer install command
Problem:

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - rame0/yandex-market-object is locked to version 0.5.2 and an update of this package was not requested.
    - rame0/yandex-market-object 0.5.2 requires php ^7.4 || ^8.0 -> your php version (7.3.9) does not satisfy that requirement.
  Problem 2
    - rame0/yandex-turbo-shopping-api is locked to version 1.1.0 and an update of this package was not requested.
    - rame0/yandex-turbo-shopping-api 1.1.0 requires php ^7.4 || ^8.0 -> your php version (7.3.9) does not satisfy that requirement.
  Problem 3
    - mongodb/mongodb is locked to version 1.8.0 and an update of this package was not requested.
    - mongodb/mongodb 1.8.0 requires ext-mongodb ^1.8.1 -> it has the wrong version (1.5.5) installed. Install or enable PHP's mongodb extension.
  Problem 4
    - mongodb/mongodb 1.8.0 requires ext-mongodb ^1.8.1 -> it has the wrong version (1.5.5) installed. Install or enable PHP's mongodb extension.
    - alcaeus/mongo-php-adapter 1.2.0 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb[1.8.0].
    - alcaeus/mongo-php-adapter is locked to version 1.2.0 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files:
    - C:\ops\ospanel\modules\php\PHP_7.3-x64\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Khomenko, 2021-08-25
@iiifx

It describes two key issues. Read the answer carefully. The first problem in paragraphs 1 and 2, the second in 3 and 4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question