将React Native从0.27.2
升级到0.28.0
后,我开始在iOS上遇到以下错误:
我正在使用这些包:
"buffer": "^4.6.0",
"date-format-lite": "^0.7.4",
"fs": "0.0.2",
"moment": "^2.13.0",
"react": "^15.2.0",
"react-native": "^0.28.0",
"react-native-device-info": "^0.9.3",
"react-native-localization": "^0.1.13",
"react-native-nav": "^1.1.3",
"react-native-scrollable-tab-view": "^0.5.2",
"react-native-simple-modal": "^3.0.2",
"react-native-vector-icons": "^2.0.2",
"reflux": "^0.4.1",
"rnpm-plugin-upgrade": "^0.26.0",
"superagent": "^1.7.2",
"validator": "^5.1.0"
任何想法有什么不对?
谢谢!
答案 0 :(得分:0)
我通过清除Xcode中的node_modules
和ios项目解决了这个问题。