composer install报错之it could not be found in any version

执行composer install报错:

it could not be found in any version, there may be a typo in the package nameProblem 1
    - Root composer.json requires fideloper/proxy, it could not be found in any version, there may be a typo in the package name.
  Problem 2
    - Root composer.json requires laravel/framework, it could not be found in any version, there may be a typo in the package name.
  Problem 3
    - Root composer.json requires laravel/tinker, it could not be found in any version, there may be a typo in the package name
    ......

主要就是切换镜像源:

composer config -g repo.packagist composer https://packagist.org

之后再执行composer install即可!

包来源地址查询命令: composer config -l -g

 

转载地址:https://blog.csdn.net/qq_35401605/article/details/124894482

posted @ 2022-08-27 15:04  笨笨韩  阅读(509)  评论(0)    收藏  举报