xdl@42.0.0"hasunmetpeerdependency"react@16.0.0-alpha.12的解决方案
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了xdl@42.0.0"hasunmetpeerdependency"react@16.0.0-alpha.12的解决方案,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1146字,纯文字阅读大概需要2分钟。
内容图文
国人的博客写的比较懒,个人从stack
over flow 查找到这个问题,大概就是....
I'm using npm install react-native@0.40.0 --save
to upgrade React Native, but I keep getting an error that I have an "UNMET PEER DEPENDENCY react-native@0.40.0".
This confuses me because I thought I had just installed react-native@0.40.0.
Those error messages can be really poorly worded. I've seen this same thing; it's reporting that you have react-native@0.40.0
installed, but something else is requesting a different version.
I'd suggest doing an npm ls
; it will give you a better picture of all the peer dependency requirements and what's wrong.
|
Ouch. Unfortunately, I don't think you have a good way to resolve that short of finding dependencies that have compatible
react-native dependencies. – Jacob Jan 8 at 6:59 |
以上就是xdl@42.0.0" has unmet peer dependency "react@16.0.0-alpha.12 的解决方案的详细内容,更多请关注Gxl网其它相关文章!
内容总结
以上是互联网集市为您收集整理的xdl@42.0.0"hasunmetpeerdependency"react@16.0.0-alpha.12的解决方案全部内容,希望文章能够帮你解决xdl@42.0.0"hasunmetpeerdependency"react@16.0.0-alpha.12的解决方案所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。
npm ls
, and it appears that I have two conflicting requirements: one forreact-native@^0.33.0
and another forreact-native@>=0.40
. Is there any way this can be resolved? – user2421192 Jan 8 at 6:58