当前位置:编程学习 > thinkphp >>

composer install遇到错误Your requirements could not be resolved

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要求的版本,错误代码如下

查看了下资料说是php版本不符,打开composer.json发现代码只要求大于7.0.0可仍然报这个错误,不用太较真执行如下代码之后在运行之前的代码就ok

composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,