2020年7月5日 星期日

Fail to run composer require fof/sitemap


composer require fof/sitemap

Solution:
composer update --with-all-dependencies





Using version ^0.5.1 for fof/sitemap
./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
    - Can only install one of: flarum/core[v0.1.0-beta.13, v0.1.0-beta.12].
    - Can only install one of: flarum/core[v0.1.0-beta.13, v0.1.0-beta.12].
    - Can only install one of: flarum/core[v0.1.0-beta.13, v0.1.0-beta.12].
    - fof/sitemap 0.5.1 requires flarum/core >=0.1.0-beta.13 <0.1.0-beta.14 -> satisfiable by flarum/core[v0.1.0-beta.13].
    - Installation request for fof/sitemap ^0.5.1 -> satisfiable by fof/sitemap[0.5.1].
    - Installation request for flarum/core (locked at v0.1.0-beta.12, required as ^0.1.0) -> satisfiable by flarum/core[v0.1.0-beta.12].

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