当前位置:网站首页>Solution to composer error could not find package

Solution to composer error could not find package

2022-06-26 04:18:00 Never bow

Composer  There's a problem with the download

Tips

 [InvalidArgumentException]
 Could not find a version of package ice-php/test-repository matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

According to the tip , I made various modifications About Version related things , Still fruitless

Then I carry the version number Update, namely

composer require ice-php/test-repository:^1.0

The prompt is :

 [InvalidArgumentException]
 Could not find package ice-php/test-repository.

 Did you mean this?
     ice-php/test-repository

 

At this time , I began to wonder Composer Source . Before that, I modified the code source to Chinese image server

https://packagist.phpcomposer.com
Remove , Still

 

Try Change to Packagist The address of https://packagist.org

Run again composer, Stuck ,   Look at this play .

After a long wait , Appoint edition The update is successful . 

Try again No version assignment Of ,   It's also a success .

 

原网站

版权声明
本文为[Never bow]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180536198467.html