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

babel config of a dependency breaks build #5274

Closed
jasonkuhrt opened this issue Jan 12, 2016 · 3 comments
Closed

babel config of a dependency breaks build #5274

jasonkuhrt opened this issue Jan 12, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jasonkuhrt
Copy link

I have a dependency that includes this Babel configuration in package.json:

"babel": {
    "presets": [
      "es2015",
      "react"
    ]
  }

I have found that when this dependency is installed I get the following error (sometimes at runtime or sometimes at build):

screen shot 2016-01-12 at 4 24 11 pm

If I remove the babel settings aforementioned this error does not occur. I think the opaque error message is due to #5191.

@facebook-github-bot
Copy link
Contributor

Hey jasonkuhrt, 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.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@jasonkuhrt jasonkuhrt changed the title Dependency babel config breaks build babel config of a dependency breaks build Jan 12, 2016
@satya164
Copy link
Contributor

Related #4062 #5221

@jasonkuhrt
Copy link
Author

Thanks.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants