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).
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.
Running the command
Leads to
Within the dependencies of
mermaid
there are (in a composer sense) incompatible constraints tominimist
.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.