解决composer报错:Could not find a version of package xxx/yyy matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability
blogdaren
问题背景:

composer require xxx/yyy

结果报错:
[InvalidArgumentException]
Could not find a version of package xxx/yyy matching your minimum-stability (stable). Require it with an explicit version constrai
nt allowing its desired stability.
解决方案:
1、新建 composer.json

2、新增如下内容:

{
“require”: {
“xxx/yyy”: “dev-master” //更换自己的包 “xxx/yyy”,自己的仓库版本 “dev-master”
}
}
3、执行命令:

composer install

解决composer报错:Could not find a version of package xxx/yyy相关推荐

  1. 解决mac报错ssh:connect to host 192.168.xx.xxx port 22: Connection refused

    遇到的问题 机器A ssh连接 机器B失败,机器B ssh连接 机器A成功 mac在ssh远程登录的过程中出现报错ssh:connect to host 192.168.xx.xxx port 22: ...

  2. 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 ...

  3. git:Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists)....

    Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). 解决办法一:保 ...

  4. 解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist

    解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on ...

  5. 解决Python报错UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 658: illegal multibyte

    解决Python报错–UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 658: illegal multibyte ...

  6. 解决gcc报错:error: implicit declaration of function ‘inet_addr’ [-Werror=implicit-function-declaration]

    此文首发于我的个人博客:解决gcc报错 error implicit declaration of function 'inet_addr' [-Werror=implicit-function-de ...

  7. 解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常

    解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常 参考文章: (1)解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常 (2)https:// ...

  8. vue解决启动报错cjs loader.js Error: Cannot find module ‘../config‘问题

    vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题 参考文章: (1)vue解决启动报错cjs loader.js Error ...

  9. 解决tensorflow报错:AttributeError: module ‘tensorflow.keras.backend‘ has no attribute ‘get_session‘ 问题

    欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 解决tensorflow报错:AttributeError: module 'tensorflow.keras.back ...

最新文章

  1. 天哪,路由器都能跑Docker了!
  2. 基于react native的登录界面demo 超简易教程 redux版
  3. Linq list 排序,Dictionary 排序
  4. 采用我国国产处理器的超级计算机是,“中国芯”超级电脑合肥诞生 首次采用国产CPU芯片...
  5. wampserver启动报错:1 of 2 services running - 解决篇
  6. android 微信支付过程,android 微信 支付 接入流程总结
  7. Jsp 中遇到待解决问题
  8. 用计算机键盘如何截屏,键盘上哪个键是截图 电脑键盘截图快捷键用法
  9. MagicDraw 18.5 SP4
  10. 全球院士共话智能工业创新
  11. 最简单日柱推算法_怎样推算大运、小运、流年和命宫?
  12. (2)Hadoop核心 -- java代码对MapReduce的例子1
  13. pytorch-词嵌入基础
  14. 程序员的“荣”与“耻”之我见
  15. scons用户指南第一章:编译和安装SCons
  16. 不用PLC,怎么用组态王和step7编程软件结合实现新年晚会舞台灯光效果,简单好看怎么做?
  17. intel第6代服务器芯片,Intel第六代处理器 Skylake CPU、GPU、主板完全解析
  18. 1t硬盘怎么分区最好_1T的硬盘空间怎么分区比较合理
  19. 为什么现在算法工程师薪酬这么高?
  20. 爬虫(1)——爬虫前奏

热门文章

  1. linux 虚拟专用网络设置,centos安装配置pptp 虚拟专用网络服务器步骤分享
  2. 7135制作自动量程电压切换_运用单片机制作四位半数字电压表
  3. 免费舆情监测软件有哪些功能
  4. 北电PBX资料_LD 16 外線路由指令設定
  5. navigator.mediaDevices.getUserMedia录制桌面视频并保存
  6. ambiguous column name解决办法
  7. 如何修改浏览器控制台中英文语言显示
  8. 我的世界服务器怎么修改材质包,超实用解析我的世界服务器怎么加材质包
  9. html实现led数字效果,css3一个简易的 LED 数字时钟实现方法
  10. Plant Simulation——笔记1(Unknown identifier ‘TrackDefine‘)