composer更新只能更新到5.1.12?

浏览:752 发布日期:2020/10/12 分类:求助交流
今天想去更新下框架 发现只能更新到5.1.12,请问下大家怎么回事呢?

$ composer update topthink/framework
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating topthink/framework (v5.1.11 => v5.1.12): Downloading (connecting...Downloading (100%)
Writing lock file
Generating autoload files

如果我指定更新版本的话 也是出错
$ 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.
最佳答案
评论( 相关
后面还有条评论,点击查看>>