2017-04-18 22:09:31 2147次浏览 1条回答 0 悬赏 20 金钱
composer require --prefer-dist yiisoft/yii2-apidoc

错误如下:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: phpdocumentor/reflection-docblock[2.0.4, 3.1.1].
    - Can only install one of: phpdocumentor/reflection-docblock[3.1.1, 2.0.4].
    - Can only install one of: phpdocumentor/reflection-docblock[2.0.4, 3.1.1].
    - yiisoft/yii2-apidoc 2.1.0 requires phpdocumentor/reflection-docblock ^2.0.4 -> satisfiable by phpdocumentor/reflection-docblock[2.0.4].
    - Installation request for yiisoft/yii2-apidoc ^2.1 -> satisfiable by yiisoft/yii2-apidoc[2.1.0].
    - Installation request for phpdocumentor/reflection-docblock == 3.1.1.0 -> satisfiable by phpdocumentor/reflection-docblock[3.1.1].
  • 回答于 2017-04-19 08:48 举报

    要你指定要下载的版本啊,现在有多个版本 他也不知道要下载那一个

    1 条回复
    回复于 2017-04-19 20:11 回复

    "yiisoft/yii2-apidoc": "~2.1.0",composer update yiisoft/yii2-apidoc cebe/markdown这样也不行

您需要登录后才可以回答。登录 | 立即注册
johnny1991
副总裁

johnny1991

注册时间:2017-03-26
最后登录:2024-03-05
在线时长:81小时27分
  • 粉丝26
  • 金钱3285
  • 威望580
  • 积分9895

热门问题