stoneWeb / elm-react-native

A react native app simulating eleme app,run ios and android.
MIT License
1.76k stars 423 forks source link

我run-android 报错了,怎么解决? #20

Open whiteMu opened 6 years ago

whiteMu commented 6 years ago

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined (node:5816) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

super-hu commented 6 years ago

应该是react-native link后MainApplication有重复的引用吧,我开始也是,可以去除重复的,或者直接npm install后直接react-native run-android

huchun666 commented 5 years ago

直接npm install后直接react-native run-android也是报错

whiteMu commented 5 years ago

@super-hu 你是说重复引用吗?可能是这个原因吧,现在已经不研究这块了

Dream552b commented 5 years ago

我也遇到了这个问题。 大神有解决的方案么