Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
whiteMu opened this issue Mar 2, 2018 · 4 comments
Open

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

whiteMu opened this issue Mar 2, 2018 · 4 comments

Comments

@whiteMu
Copy link

whiteMu commented Mar 2, 2018

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
Copy link

super-hu commented Jun 8, 2018

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

@huchun666
Copy link

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

@whiteMu
Copy link
Author

whiteMu commented Dec 20, 2018

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

@Dream552b
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants