conposer报错包找不到
现象:所有的安装形式都是提示找不到包,但是composer站点上可以找到。
原因:镜像问题。

composer require 安装扩展包后报错

  [InvalidArgumentException]                                                                                                                                                                                        Could not find a matching version of package ‘包名’. Check the package spelling,your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

解决方式:
1.composer.json中更换镜像,如果是国外报错,则使用国内镜像。

    "packagist": {"type": "composer","url": "https://packagist.phpcomposer.com"}

全局设置国内镜像,尝试再次执行

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

注:如果上面

Composer报错Could not find a matching version of package解决方式相关推荐

  1. 解决composer报错:Could not find a version of package xxx/yyy

    解决composer报错:Could not find a version of package xxx/yyy matching your minimum-stability (stable). R ...

  2. laravel 执行php命令报错PHP Parse error: syntax error, unexpected '=' in的解决方式

    报错内容: PHP Parse error: syntax error, unexpected '=' in 网站目录/vendor/laravel/framework/src/Illuminate/ ...

  3. 报错 No resource identifier found for attribute '****' in package '***.***'解决办法

    这个错误是在布局文件中,提示控件没有这个属性,前面会有提示在哪一个文件哪一行,如下如所示: 从上图可以看出报错是因为这个控件中没有 "emptyErrorString" " ...

  4. go build 编译报错 missing go.sum entry for module providing package

    go build 编译报错 missing go.sum entry for module providing package 解决方法 // 移除未使用的依赖 go mod tidy 再次编译,就可 ...

  5. composer 报错 The “https://mirrors.aliyun.com/composer/p....json“ file could not be downloaded (HTTP/1

    composer 报错 The "https://mirrors.aliyun.com/composer/p....json" file could not be download ...

  6. pip下载包报错ERROR: Could not find a version that satisfies the requirement xxxx==1.0.2 (from versions

    我在安装pymysql的时候报错 ERROR: Could not find a version that satisfies the requirement pymysql==1.0.2 (from ...

  7. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  8. pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6

    pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6 (venv) D: ...

  9. svn update 报错,必须先cleanup,然后cleanup失败解决方法

    svn update 报错,必须先cleanup,然后cleanup失败解决方法 参考文章: (1)svn update 报错,必须先cleanup,然后cleanup失败解决方法 (2)https: ...

最新文章

  1. C#版本的CPU性能测试
  2. 【Spark Summit East 2017】Spark SQL:Tungsten之后另一个可以达到16倍速度的利器
  3. 让老鼠迷上玩《毁灭战士2》?这个匈牙利神经科学家做到了
  4. 推荐 查公司信息的一个网站
  5. javascript创建类方法汇总(包含es6语法)
  6. boost::mpl模块实现unpack_args相关的测试程序
  7. 一步一步学习OC2007(三)--定制菜单命令
  8. 使用Angular,Ionic 4和Spring Boot构建移动应用
  9. MySQL外键命名规范
  10. 超详细的Java面试题总结(一)之Java基础知识篇
  11. MYSQL 字符集问题
  12. Java基础IO流(二)字节流小案例
  13. lte tm模式_TD―LTE TM8传输模式分析
  14. php 万能表,手把手教你,如何使用数字万用表!
  15. 怎样在Excel顶部单元格操作锁定,技巧干货!Excel如何冻结首行单元格?
  16. 无法定位程序输入点于动态链接库kernel32
  17. 80亿美元侵权诉讼的随想
  18. unraid安装黑群晖虚拟机开机显示 Starting Kernel with USB boot
  19. 将现有android项目打包成aar包供第三方应用调用
  20. 单片机实例6——报警产生器(硬件电路图+汇编程序+C语言程序)

热门文章

  1. 前端MVVM模式及其在Vue和React中的体现
  2. 【转】贝塞尔曲线介绍
  3. 注解Annotation的IoC:从@Autowired到@Component
  4. 月入过万?就靠SEO了
  5. 使用七牛图片遇到的图片方向翻转问题
  6. tomcat使用遇到的问题汇总
  7. MySQL 5.6x开启慢查询日志
  8. Ubuntu下libvirt kvm配置
  9. 我是买家项目随想-展望2011
  10. 【下载中心】如何撰写分卷资源的标题、简介