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