React Native踩坑记录
添加依赖报错信息: 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"