1 year ago

#325990

test-img

Anil Parshi

google/apiclient is not getting installed

I am trying to install google/apiclient:^2.0 in my project and it gives me errors as below,

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

Problem 1
    - Root composer.json requires laravel/framework 5.8.*, found laravel/framework[v5.8.0, ..., 5.8.x-dev] but the package is fixed to v7.30.4 (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.
  Problem 2
    - Root composer.json requires google/apiclient 2.0 -> satisfiable by google/apiclient[v2.0.0].
    - google/apiclient v2.0.0 requires monolog/monolog ^1.17 -> found monolog/monolog[1.17.0, ..., 1.x-dev] but the package is fixed to 2.2.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.

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.

enter image description here

Please help me out with the same.
Thanks & Regards

laravel

google-api-client

0 Answers

Your Answer

Accepted video resources