如果我指定更新版本的话 也是出错
$ composer require topthink/framework:5.1.40
./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: topthink/think-installer[v2.0.0, v1.0.12].
- Can only install one of: topthink/think-installer[v2.0.0, v1.0.12].
- Can only install one of: topthink/think-installer[v2.0.0, v1.0.12].
- topthink/framework v5.1.40 requires topthink/think-installer 2.* -> satisfiable by topthink/think-installer[v2.0.0].
- Installation request for topthink/framework 5.1.40 -> satisfiable by topthink/framework[v5.1.40].
- Installation request for topthink/think-installer (locked at v1.0.12) -> satisfiable by topthink/think-installer[v1.0.12].
Installation failed, reverting ./composer.json to its original content.