首页 >后端开发 >php教程 >使用composer遇到“Your requirements could not be”错误怎么办

使用composer遇到“Your requirements could not be”错误怎么办

PHPz
PHPz原创
2016-06-06 20:21:5315304浏览

使用composer遇到“Your requirements could not be”错误怎么办

使用composer遇到“Your requirements could not be”错误的解决办法:

Your requirements could not be resolved to an installable set of packages.

如果出现下面这种情况:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

需要安装一个composer资源插件,运行命令安装即可:

composer global require "fxp/composer-asset-plugin:^1.4.1"
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn