安装doc api出问题了 [ 2.0 版本 ]
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].
共 1 个回答
-
要你指定要下载的版本啊,现在有多个版本 他也不知道要下载那一个
共 1 条回复johnny1991 回复于 2017-04-19 20:11 回复"yiisoft/yii2-apidoc": "~2.1.0",composer update yiisoft/yii2-apidoc cebe/markdown这样也不行
johnny1991
注册时间:2017-03-26
最后登录:2024-03-05
在线时长:81小时27分
最后登录:2024-03-05
在线时长:81小时27分
- 粉丝26
- 金钱3285
- 威望580
- 积分9895