elm-react-native icon indicating copy to clipboard operation
elm-react-native copied to clipboard

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

Open whiteMu opened this issue 7 years ago • 4 comments

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.

whiteMu avatar Mar 02 '18 03:03 whiteMu

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

super-hu avatar Jun 08 '18 08:06 super-hu

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

huchun666 avatar Dec 11 '18 08:12 huchun666

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

whiteMu avatar Dec 20 '18 08:12 whiteMu

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

Dream552b avatar Jul 28 '19 09:07 Dream552b