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

Can not install npm-asset/mermaid:7.0.5 #69

Closed
schmunk42 opened this issue Sep 20, 2017 · 0 comments
Closed

Can not install npm-asset/mermaid:7.0.5 #69

schmunk42 opened this issue Sep 20, 2017 · 0 comments

Comments

@schmunk42
Copy link

Running the command

composer require -vvv --no-plugins npm-asset/mermaid:7.0.5

Leads to

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

  Problem 1
    - Can only install one of: npm-asset/minimist[0.0.8, 1.2.0].
    - npm-asset/mkdirp 0.5.1 requires npm-asset/minimist 0.0.8 -> satisfiable by npm-asset/minimist[0.0.8].
    - npm-asset/mermaid 7.0.5 requires npm-asset/minimist >=1.2.0,<2.0.0 -> satisfiable by npm-asset/minimist[1.2.0].
    - npm-asset/mermaid 7.0.5 requires npm-asset/mkdirp >=0.5.1,<0.6.0 -> satisfiable by npm-asset/mkdirp[0.5.1].
    - Installation request for npm-asset/mermaid 7.0.5 -> satisfiable by npm-asset/mermaid[7.0.5].

Within the dependencies of mermaid there are (in a composer sense) incompatible constraints to minimist. npm can "solve" this, by installing multiple versions of a dependency (as a sub-dependency).

Interestingly, you can download a 7.0.5 zip package from here: https://asset-packagist.org/package/npm-asset/mermaid


This is more a informational issue for you as maintainers of asset-packagist, since it's an issue in the way how composer vs. npm works. I fear you (or fxpio/cap) might not be able to do anything about these cases, but they might be noted in the docs.

Feel free to reopen this issue.

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

1 participant