Closed ezsky closed 4 years ago
How do you install it exactly?
How do you install it exactly?
no, I had create new basic template and use default composer install command. but, yii2-doc 2.1.2 can not install
I have got the same problem
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install yiisoft/yii2-apidoc 2.1.2
- Conclusion: don't install yiisoft/yii2-apidoc 2.1.1
- Conclusion: remove cebe/markdown 1.2.1
- Installation request for yiisoft/yii2-apidoc ^2.1 -> satisfiable by yiisoft/yii2-apidoc[2.1.0, 2.1.1, 2.1.2].
- Conclusion: don't install cebe/markdown 1.2.1
- yiisoft/yii2-apidoc 2.1.0 requires cebe/markdown ~1.0.0 | ~1.1.0 -> satisfiable by cebe/markdown[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2].
- Can only install one of: cebe/markdown[1.0.0, 1.2.1].
- Can only install one of: cebe/markdown[1.0.1, 1.2.1].
- Can only install one of: cebe/markdown[1.0.2, 1.2.1].
- Can only install one of: cebe/markdown[1.0.3, 1.2.1].
- Can only install one of: cebe/markdown[1.1.0, 1.2.1].
- Can only install one of: cebe/markdown[1.1.1, 1.2.1].
- Can only install one of: cebe/markdown[1.1.2, 1.2.1].
- Installation request for cebe/markdown (locked at 1.2.1) -> satisfiable by cebe/markdown[1.2.1].
Installation failed, reverting ./composer.json to its original content.
add
"yiisoft/yii2-apidoc": "~2.1.0"
to composer.json,then composer update -vvv
,will automatic downgrade the 'cebe/markdown' version.
Yes, that's because https://github.com/cebe/markdown-latex/issues/14:
$ composer why-not cebe/markdown
cebe/markdown-latex 1.1.5 requires cebe/markdown (~1.0.0)
yiisoft/yii2 2.0.32 requires cebe/markdown (~1.0.0 | ~1.1.0 | ~1.2.0)
yiisoft/yii2-apidoc 2.1.2 requires cebe/markdown (~1.0.0 | ~1.1.0 | ~1.2.0)
$ composer why cebe/markdown-latex
yiisoft/yii2-apidoc 2.1.2 requires cebe/markdown-latex (~1.0)
Duplicates #123
Problem 1