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

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

PHPz
發布: 2020-09-05 10:08:31
原創
15331 人瀏覽過

使用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
最新問題
怎麼學好php
來自於 1970-01-01 08:00:00
0
0
0
PHP擴充intl
來自於 1970-01-01 08:00:00
0
0
0
php數據獲取?
來自於 1970-01-01 08:00:00
0
0
0
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板