Composer version 2.1.6 无法下载 phpoffice/phpword

浏览:857 发布日期:2022/02/23 分类:求助交流
PS C:\wamp64\www\objective\web> composer require phpoffice/phpword v0.18.0
The "topthink/think-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.
./composer.json has been updated
The "topthink/think-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.
Running composer update phpoffice/phpword
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- topthink/think-installer v2.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
- topthink/framework v5.1.39 requires topthink/think-installer 2.* -> satisfiable by topthink/think-installer[v2.0.0].
- topthink/framework is locked to version v5.1.39 and an update of this package was not requested.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\wamp64\www\objective\web>

最佳答案
评论( 相关
后面还有条评论,点击查看>>