0

Having issues installing Google Cloud PHP client using Composer.

Any ideas how to best resolve the issues:

Using version ^0.33.1 for google/cloud                               
./composer.json has been updated
Loading composer repositories with package information                                                             Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: google/auth[v1.0, v0.11.1].
    - Can only install one of: google/auth[v1.0, v0.11.1].
    - Can only install one of: google/auth[v1.0, v0.11.1].
    - google/cloud v0.33.1 requires google/auth ^1.0 -> satisfiable by google/auth[v1.0].
    - Installation request for google/cloud ^0.33.1 -> satisfiable by google/cloud[v0.33.1].
    - Installation request for google/auth (locked at v0.11.1) -> satisfiable by google/auth[v0.11.1].


Installation failed, reverting ./composer.json to its original content.
sfbstack@villada:~/api/dev$ 
kenorb
  • 155,785
  • 88
  • 678
  • 743
Finglish
  • 9,692
  • 14
  • 70
  • 114
  • 2
    Does this happen when you run `composer require google/cloud` in an empty directory? I just tried it and it works fine... – Jirka Hrazdil Jul 08 '17 at 19:53
  • @JiriHrazdil. hmm... you are right. After a little more testing I found some old google dependencies in the project that must have been installed previously. After removing them, everything works. I have voted up your comment. – Finglish Jul 09 '17 at 20:11
  • Possible duplicate of [How to resolve a "Can only install one of:" conflict?](https://stackoverflow.com/questions/36611550/how-to-resolve-a-can-only-install-one-of-conflict) – kenorb Mar 23 '18 at 22:16

0 Answers0