首頁  >  文章  >  後端開發  >  使用composer遇到“Your requirements could not be”错误怎么办

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

PHPz
PHPz原創
2016-06-06 20:21:5315259瀏覽

使用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