欢迎光临
一起探讨学习进步

执行composer install遇到错误:Your requirements could not be resolved to an installable set of packages

执行composer install遇到 错误:Your requirements could not be resolved to an installable set of packages. 这是因为不匹配composer.json要求的版本。

这个时候composer 可以设置忽略版本匹配,命令是:

composer install --ignore-platform-reqs

or

composer update --ignore-platform-reqs

再次执行composer命令可以正常安装包了。

未经允许不得转载:执行composer install遇到错误:Your requirements could not be resolved to an installable set of packages

评论 0

评论前必须登录!