您的位置:首页 > Web前端 > React

npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.

2017-07-03 20:26 656 查看
解决方案:
方法一:

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",
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐