google-api-php-client icon indicating copy to clipboard operation
google-api-php-client copied to clipboard

Cannot install via composer

Open mediatomcat opened this issue 8 years ago • 3 comments

Trying to install but get the following issue:

composer require google/apiclient:^2.0

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

Problem 1 - The requested package google/apiclient No version set (parsed as 1.0.0) is satisfiable by google/apiclient[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.

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

mediatomcat avatar Jul 02 '18 19:07 mediatomcat

I don't know all the ins and outs of composer. Please attach your composer.json file to make it easier to recreate this issue.

mattwhisenhunt avatar Jul 02 '18 19:07 mattwhisenhunt

The composer file is the same one in this git. I am basically downloading the git and running the composer require file. I have tried adding the "google/apiclient:^2.0" directly to the composer file, but you still get the same error.

mediatomcat avatar Jul 02 '18 19:07 mediatomcat

This git is google/apiclient so you'll want to just composer install after a clone.

You can run composer require google/apiclient:^2.0 from a different directory/project to treat this git as a dependency.

mattwhisenhunt avatar Jul 02 '18 19:07 mattwhisenhunt