错误::
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- topthink/think-installer is locked to version v2.0.0 and an update of this package was not requested.
- topthink/think-installer v2.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- topthink/think-installer v2.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
- topthink/framework v5.1.35 requires topthink/think-installer 2.* -> satisfiable by topthink/think-installer[v2.0.0].
- topthink/framework is locked to version v5.1.35 and an update of this package was not requested.
貌似是以为composer版本问题,我是这样解决的;
扩展和版本不配问题,使用了
****** composer update --no-plugins
然后加载出来了;
升级指定依赖;
composer require composer-plugin-api/composer-plugin-api:1.0.0
版本号可以升也可以降;
composer upate 依赖/依赖:版本号;
区别就是update需要修改lock然后降;