我正在尝试在我的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在本地计算机上拉出站点,我也遇到了同样的问题。
到目前为止,通过搜索答案都找不到任何提示。在此先感谢您的帮助!