-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Failed to start project if .babelrc is added #4882
Comments
Hey am5a03, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
@am5a03 since v0.16.0 React Native uses BABEL6, which currently does not support decorators, so they will not work. From the Release notes: And since then also .barbelrc are not supported anymore. You have to remove them from any other node_module too. Please have a look at this related issue #4062 |
Closing for #4062 |
I've added a .babelrc in my project's root directory
It cannot be started, I got the same error message as in #4690
However, this .babelrc works in one of my previous projects, which is using react-native 0.14.2
Here is an excerpt of the dependency of this new project:
And the dependency of my old project
Both are using exactly the same .babelrc, but the new project simply doesn't start.
I tried to copy
node_modules
to my new project, and it starts.The text was updated successfully, but these errors were encountered: