Composer报错Could not find a matching version of package解决方式
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解决方式相关推荐
- 解决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 ...
- laravel 执行php命令报错PHP Parse error: syntax error, unexpected '=' in的解决方式
报错内容: PHP Parse error: syntax error, unexpected '=' in 网站目录/vendor/laravel/framework/src/Illuminate/ ...
- 报错 No resource identifier found for attribute '****' in package '***.***'解决办法
这个错误是在布局文件中,提示控件没有这个属性,前面会有提示在哪一个文件哪一行,如下如所示: 从上图可以看出报错是因为这个控件中没有 "emptyErrorString" " ...
- go build 编译报错 missing go.sum entry for module providing package
go build 编译报错 missing go.sum entry for module providing package 解决方法 // 移除未使用的依赖 go mod tidy 再次编译,就可 ...
- 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 ...
- 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 ...
- 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解决方法 文章目录 ...
- 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: ...
- svn update 报错,必须先cleanup,然后cleanup失败解决方法
svn update 报错,必须先cleanup,然后cleanup失败解决方法 参考文章: (1)svn update 报错,必须先cleanup,然后cleanup失败解决方法 (2)https: ...
最新文章
- C#版本的CPU性能测试
- 【Spark Summit East 2017】Spark SQL:Tungsten之后另一个可以达到16倍速度的利器
- 让老鼠迷上玩《毁灭战士2》?这个匈牙利神经科学家做到了
- 推荐 查公司信息的一个网站
- javascript创建类方法汇总(包含es6语法)
- boost::mpl模块实现unpack_args相关的测试程序
- 一步一步学习OC2007(三)--定制菜单命令
- 使用Angular,Ionic 4和Spring Boot构建移动应用
- MySQL外键命名规范
- 超详细的Java面试题总结(一)之Java基础知识篇
- MYSQL 字符集问题
- Java基础IO流(二)字节流小案例
- lte tm模式_TD―LTE TM8传输模式分析
- php 万能表,手把手教你,如何使用数字万用表!
- 怎样在Excel顶部单元格操作锁定,技巧干货!Excel如何冻结首行单元格?
- 无法定位程序输入点于动态链接库kernel32
- 80亿美元侵权诉讼的随想
- unraid安装黑群晖虚拟机开机显示 Starting Kernel with USB boot
- 将现有android项目打包成aar包供第三方应用调用
- 单片机实例6——报警产生器(硬件电路图+汇编程序+C语言程序)