執(zhí)行 composer update 命令的時(shí)候報(bào) Your requirements could not be resolved to an installable set of packages. 錯(cuò)誤
Your requirements could not be resolved to an installable set of packages.
以上原因:不匹配composer.json要求的版本。
解決方案:
composer可以設(shè)置忽略版本匹配,
composer install --ignore-platform-reqs composer update --ignore-platform-reqs
再次執(zhí)行composer命令可以正常安裝包了。
下一篇
網(wǎng)站域名被微信攔截怎么辦?