Cannot install library using composer
Hi
I am trying to install this package/library using composer but it gives me below error:
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. Problem 2 - Installation request for google/apiclient ^2.0 -> satisfiable by google/apiclient[v2.0.0]. - google/apiclient v2.0.0 requires google/auth 0.8 -> satisfiable by google/auth[v0.8] but these conflict with your requirements or minimum-stability.
Any fix?
Thanks, Manoj M
@manojmilani123 have you tried adding this dependency directly to your composer file and running composer update? i.e.:
{
"require": {
"some-depencdency": "...",
"google/apiclient": "^2.0",
}
}
And now run composer update. This should install the library successfully.
any solution for this issue?
Try adding "google/apiclient": "^2.0" directly to composer.json and running composer update and you'll have a better time.
Composer won't update your existing deps unless you run composer update, so it behaves differently when you simply use composer require, and in this case, throws an error.
@bshaffer : Still facing the same issue ! What to do ?
Did you ever find a solution?