如何通过总站和作曲家在万神殿上安装League / oauth2-client

时间:2019-02-13 10:08:10

标签: drupal oauth-2.0 composer-php pantheon

我正在尝试在我的Drupal 8上安装League / oauth2-client以便在万神殿上进行开发,但是出现与教义/注释有关的错误。

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]

通过Lando在本地计算机上拉出站点,我也遇到了同样的问题。

到目前为止,通过搜索答案都找不到任何提示。在此先感谢您的帮助!

0 个答案:

没有答案