Как установить лигу / oauth2-клиент на Pantheon через терминал и композитора - PullRequest
0 голосов
/ 13 февраля 2019

Я пытаюсь установить league / oauth2-client на моем Drupal 8 для разработки на Пантеоне, но получаю ошибку, связанную с доктриной / аннотациями.

Max$ terminus composer doolivnew.dev -- require league/oauth2-client
Using version ^2.4 for league/oauth2-client ./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
    - Conclusion: remove doctrine/annotations v1.4.0
    - Conclusion: don't install doctrine/annotations v1.4.0
    - Can only install one of: doctrine/annotations[v1.4.0, v1.2.7]
    - Can only install one of: doctrine/annotations[v1.2.0, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.1, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.2, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.3, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.4, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.5, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.6, v1.4.0]
    - Can only install one of: doctrine/annotations[v1.2.7, v1.4.0]
    - Installation request for doctrine/annotations (locked at v1.4.0, required as ^1.2) -> satisfiable by doctrine/annotations[v1.4.0]
    - Installation request for doctrine/annotations 1.2.* -> satisfiable by doctrine/annotations[v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.2.4, v1.2.5, v1.2.6, v1.2.7]


Installation failed, reverting ./composer.json to its original content.
 [notice] Command: doolivnew.dev -- composer require league/oauth2-client [Exit: 2]
 [error]   

Dcotrine требуется для

Max$ terminus composer doolivnew.dev -- why doctrine/annotations
    doctrine/common  v2.6.2      requires  doctrine/annotations (1.*)   
    drupal/drupal    dev-master  requires  doctrine/annotations (^1.2)  
     [notice] Command: doolivnew.dev -- composer why doctrine/annotations [Exit: 0]

У меня та же проблема, когда я перетаскивал сайт на своем локальном компьютере через Ландо.

Не удалось найти подсказки при поиске ответов.Заранее благодарю за любую помощь в этом!

...