WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.
来源:互联网 发布:win7优化软件排行榜 编辑:程序博客网 时间:2024/05/04 08:11
react-native init的时候出现问题:
报错信息
npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.
解决方案:
方法一:npm install -save react@~15.3.1
方法二:在package.json中可以添加依赖
"dependencies": {
"react": "^15.3.2",
"react-native": "^0.35.0",
"react-native-orientation": "^1.17.0",
"react-native-scrollable-tab-view": "^0.6.0",
}
0 0
- WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.
- react-native init的时候出现问题:npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was
- url-loader@0.5.9 requires a peer of file-loader@* but none was installed.
- stylus-loader@2.5.1 requires a peer of stylus@>=0.52.4 but none was installed 错误
- requires a peer of grunt@>=0.4.0
- npm WARN checkPermissions Missing write access to D:\react-native-workspace\react-native\react-nativ
- React Native -- The Life-Cycle of a Composite Component
- 《React-Native系列》1、初探React-Native
- react-native基础教程(1)
- react-native学习(1)
- React Native(1)
- React Native --react-navigation
- React Native react-navigation
- react native
- React Native
- React Native
- React- Native
- react-native
- TextInputLayout 登录的实现
- Xcode8 - apploader 上传失败 - ERROR ITMS-90168: "The binary you uploaded was invalid."
- linux常用查看硬件设备信息命令
- 抓住2016年的最后时光,做个总结
- 详解Java中的clone方法 -- 原型模式
- WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.
- iOS学习资源收集
- list
- APNS 学习总结(五)
- 关于微信Tinker热修复自己的集成方式以及问题
- 利用四元数求解旋转矩阵
- 接口测试之数据建模
- Cydia的几个demo和脱壳机的制作
- web端项目 ios系统 click事件无响应