Home > Backend Development > PHP Tutorial > 使用composer遇到“Your requirements could not be”错误怎么办

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

PHPz
Release: 2020-09-05 10:08:31
Original
15303 people have browsed it

使用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.
Copy after login

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

composer global require "fxp/composer-asset-plugin:^1.4.1"
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template