elm-react-native
elm-react-native copied to clipboard
我run-android 报错了,怎么解决?
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.
应该是react-native link后MainApplication有重复的引用吧,我开始也是,可以去除重复的,或者直接npm install后直接react-native run-android
直接npm install后直接react-native run-android也是报错
@super-hu 你是说重复引用吗?可能是这个原因吧,现在已经不研究这块了
我也遇到了这个问题。 大神有解决的方案么