问题描述:
composer require fof/upload 时报错
报错内容:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires fof/upload ^0.10.0 -> satisfiable by fof/upload[0.10.0].
- fof/upload 0.10.0 requires flarum/core >=0.1.0-beta.12 <0.1.0-beta.14 -> found flarum/core[v0.1.0-beta.12, v0.1.0-beta.13] but the package is fixed to v0.1.0-beta.14.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Flarum:0.1.0-beta.14.1
PHP:7.3.23
MySQL:5.7.32-log
用的是OneInStack
通过composer create-project flarum/flarum . --stability=beta
安装flarum,随后安装composer require littlegolden/flarum-lang-simplified-chinese:^v0.1.70
安装语言包,再安装upload时报错。
我看可能是版本问题?但是哪个版本不对没看明白,求解。