javascript – bower ECONFLICT即使添加了分辨率,也无法找到合适的jquery错误版本
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了javascript – bower ECONFLICT即使添加了分辨率,也无法找到合适的jquery错误版本,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1940字,纯文字阅读大概需要3分钟。
内容图文
![javascript – bower ECONFLICT即使添加了分辨率,也无法找到合适的jquery错误版本](/upload/InfoBanner/zyjiaocheng/708/f1db530a1f3f43b38bcf9f37e934f60a.jpg)
"dependencies": {
"jquery": "~2.1.4",
"angular": "~1.5.0",
....
....
},
"resolutions": {
"jquery": "~2.1.4",
"angular": "~1.5.0"
}
凉亭安装angular-peity –save
bower angular-peity#*缓存https://github.com/projectweekend/angular-peity.git#0.0.5
bower angular-peity#*验证0.0.5兑https://github.com/projectweekend/angular-peity.git# *
bower peity#*缓存https://github.com/benpickles/peity.git#3.2.1
bower peity#*验证3.2.1对https://github.com/benpickles/peity.git# *
bower jquery#~2.0.3缓存https://github.com/jquery/jquery-dist.git#2.0.3
bower jquery#~2.0.3对https://github.com/jquery/jquery-dist.git#~2.0.3验证2.0.3
bower jquery#> = 1.6缓存https://github.com/jquery/jquery-dist.git#3.1.1
bower jquery#> = 1.6验证3.1.1对https://github.com/jquery/jquery-dist.git#> = 1.6
bower jquery#> = 1.7缓存https://github.com/jquery/jquery-dist.git#3.1.1
bower jquery#> = 1.7验证3.1.1对https://github.com/jquery/jquery-dist.git#> = 1.7
bower jquery#1.9.1 – 3缓存https://github.com/jquery/jquery-dist.git#3.1.1
bower jquery#1.9.1 – 3验证3.1.1对https://github.com/jquery/jquery-dist.git#1.9.1 – 3
bower jquery#> = 1.4.4缓存https://github.com/jquery/jquery-dist.git#3.1.1
bower jquery#> = 1.4.4验证3.1.1对https://github.com/jquery/jquery-dist.git#> = 1.4.4
bower jquery#^ 2.0.3缓存https://github.com/jquery/jquery-dist.git#2.2.4
bower jquery#^ 2.0.3验证2.2.4对https://github.com/jquery/jquery-dist.git# ^ 2.0.3
bower ECONFLICT无法为jquery找到合适的版本
解决方法:
最好的方法是做
bower cache clean
那之后当你这样做
凉亭安装它会问你
Unable to find a suitable version for jquery, please choose one:
1) jquery#exampleversion1 which resolved to 1.5.3 and is required by demo1
2) jquery#^exampleversion2 which resolved to 1.5.3 and is required by app2
3) jquery#>.examplegversion3 which resolved to 1.5.3 and is required by app3Test
那么你可以输入!1或!2,或者最适合你需要的东西.
前缀号码!实质上将解决方案块添加到bower.json中,但它可以让您更好地控制正在发生的事情,它可以解决您的问题.
内容总结
以上是互联网集市为您收集整理的javascript – bower ECONFLICT即使添加了分辨率,也无法找到合适的jquery错误版本全部内容,希望文章能够帮你解决javascript – bower ECONFLICT即使添加了分辨率,也无法找到合适的jquery错误版本所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。