换了一台苹果就出错,没搞懂是哪里出了问题
来源:17-1 本章作业(带着3个问题去学习)
钳钳123
2019-10-16
“axios”: “^0.18.0”,
“fundebug-reactnative”: “^0.1.1”,
“moment”: “^2.22.2”,
“prettier”: “^1.15.2”,
“react”: “^16.3.1”,
“react-native”: “^0.55.4”,
“react-native-amap3d”: “^1.1.1”,
“react-native-datepicker”: “^1.7.2”,
“react-native-iphone-x-helper”: “^1.2.0”,
“react-native-map-linking”: “^1.0.1”,
“react-native-md5”: “^1.0.0”,
“react-native-puti-pay”: “^1.3.0”,
“react-native-render-html”: “^4.1.2”,
“react-native-smscode-count-down”: “^0.1.14”,
“react-native-splash-screen”: “^3.1.1”,
“react-navigation”: “^2.18.2”,
“react-redux”: “^5.1.1”,
“redux”: “^4.0.1”,
“redux-logger”: “^3.0.6”,
“redux-persist”: “^5.10.0”,
“redux-thunk”: “^2.3.0”,
“teaset”: “^0.5.9”
1回答
-
CrazyCodeBoy
2019-10-16
换了电脑之后首先要检查下RN环境有没有配置好,可以通过新创建一个RN项目然后看能否正常运行来检查;
如果上述方法OK,那么删除项目的node_modules然后关闭所有终端,打开项目根目录运行:
npm install cd ios pod install
然后在运行项目。
112019-10-17
相似问题