composer 报错:Installation failed, reverting ./composer.json to its original content.

2019-9-22 Stone PHP

tp5使用composer安装Image类的时候报错,

composer require topthink/think-image

错误提示:Installation failed, reverting ./composer.json to its original content.


修改方法:

1、在composer.json文件里"require"下添加代码:

"topthink/think-image" : "^1.0",
然后执行

composer update


标签: failed composer Installation

Copyright © 2019 by 海角孤星 京ICP备15056837号-1