Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicting cebe/markdown with yii2-app-basic #24

Closed
xwiggen opened this issue Sep 30, 2015 · 4 comments
Closed

conflicting cebe/markdown with yii2-app-basic #24

xwiggen opened this issue Sep 30, 2015 · 4 comments
Assignees

Comments

@xwiggen
Copy link

xwiggen commented Sep 30, 2015

Latest yii2-app-basic (2.0.6, 2015-09-30) has dependency on cebe/markdown 1.1.0 in composer.lock.
This conflicts with yii2-apidoc (cebe/markdown-latex), unable to install through composer.

composer create-project --prefer-dist yiisoft/yii2-app-basic basic
cd basic
composer require --prefer-dist yiisoft/yii2-apidoc 

Result:
Problem 1
- Installation request for cebe/markdown == 1.1.0.0 -> satisfiable by cebe/markdown[1.1.0].
- yiisoft/yii2-apidoc 2.0.0 requires cebe/markdown-latex * -> satisfiable by cebe/markdown-latex[1.0.0].
- yiisoft/yii2-apidoc 2.0.1 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
- yiisoft/yii2-apidoc 2.0.2 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
- yiisoft/yii2-apidoc 2.0.3 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
- yiisoft/yii2-apidoc 2.0.4 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
- Conclusion: don't install cebe/markdown-latex 1.0.0
- Installation request for yiisoft/yii2-apidoc ^2.0 -> satisfiable by yiisoft/yii2-apidoc[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].

@cebe cebe added this to the 2.0.5 milestone Sep 30, 2015
@cebe cebe self-assigned this Sep 30, 2015
@xwiggen
Copy link
Author

xwiggen commented Oct 7, 2015

workaround;

Adding
"yiisoft/yii2-apidoc": "~2.0.0"
to composer.json manually and then
composer update
works

@Olegf13
Copy link

Olegf13 commented Jan 29, 2016

It gets an error with Yii2 advanced too. See details below.

composer require --dev --prefer-dist yiisoft/yii2-apidoc:^2.0

Using version ^2.0 for yiisoft/yii2-apidoc
./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
    - Installation request for cebe/markdown == 1.1.0.0 -> satisfiable by cebe/markdown[1.1.0].
    - yiisoft/yii2-apidoc 2.0.0 requires cebe/markdown-latex * -> satisfiable by cebe/markdown-latex[1.0.0].
    - yiisoft/yii2-apidoc 2.0.1 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
    - yiisoft/yii2-apidoc 2.0.2 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
    - yiisoft/yii2-apidoc 2.0.3 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
    - yiisoft/yii2-apidoc 2.0.4 requires cebe/markdown-latex ~1.0.0 -> satisfiable by cebe/markdown-latex[1.0.0].
    - Conclusion: don't install cebe/markdown-latex 1.0.0
    - Installation request for yiisoft/yii2-apidoc ^2.0 -> satisfiable by yiisoft/yii2-apidoc[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].


Installation failed, reverting ./composer.json to its original content.

@cebe cebe mentioned this issue Mar 17, 2016
@cebe cebe modified the milestones: 2.0.6, 2.0.5 Mar 17, 2016
@hezll
Copy link

hezll commented Jun 17, 2016

I still got the same problems with yii 2.0.8 and php7

@cebe
Copy link
Member

cebe commented Jun 17, 2016

see updated installation docs: https://github.com/yiisoft/yii2-apidoc#installation

@cebe cebe closed this as completed Jun 17, 2016
@cebe cebe removed this from the 2.0.6 milestone Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants