欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2022-04-21 23:33:46
...

使用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"
相关标签: php composer