Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable)

**

composer require xx/xx 報錯

**

Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

因爲我們在中國使用的鏡像源的問題。

**

解決方案:更改鏡像源

composer config -g repo.packagist composer https://packagist.phpcomposer.com

**

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章