-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Using removed Babel 5 option #27
Comments
same here |
+1 |
2 similar comments
+1 |
+1 |
(Sorry, I'm not good at English) I think the reason is: The solution is:
to this file. Finally like this; .babelrc
Before:
After:
In other words, import React and {PropTypes, Component} from 'react', import others from 'react-native'. Not finished. Delete "export default" before "class ViewName(e.g. Avatar)“. And add "module.exports = ViewName(e.g. Avatar);" to the end of the file. The core of step 1 is babel, it changed a lot from babel 5 to babel6. Well, finally I run the project on device successful. But I think my solution is not good, hope someone provide a better one. |
It is still this issue ! |
Hi team!

When i apply mrn in my project react-native (v0.25), then I build....
Help me, please!!
Thanks!!!
The text was updated successfully, but these errors were encountered: