{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5274","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5274/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5274/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5274/events","html_url":"https://github.com/facebook/react-native/issues/5274","id":126279889,"number":5274,"title":"Dependency babel config breaks build","user":{"login":"jasonkuhrt","id":284476,"avatar_url":"https://avatars.githubusercontent.com/u/284476?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonkuhrt","html_url":"https://github.com/jasonkuhrt","followers_url":"https://api.github.com/users/jasonkuhrt/followers","following_url":"https://api.github.com/users/jasonkuhrt/following{/other_user}","gists_url":"https://api.github.com/users/jasonkuhrt/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonkuhrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonkuhrt/subscriptions","organizations_url":"https://api.github.com/users/jasonkuhrt/orgs","repos_url":"https://api.github.com/users/jasonkuhrt/repos","events_url":"https://api.github.com/users/jasonkuhrt/events{/privacy}","received_events_url":"https://api.github.com/users/jasonkuhrt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T21:26:28Z","updated_at":"2016-01-12T21:26:28Z","closed_at":null,"body":"I have a dependency that includes this Babel configuration in `package.json`:\r\n\r\n```json\r\n\"babel\": {\r\n    \"presets\": [\r\n      \"es2015\",\r\n      \"react\"\r\n    ]\r\n  }\r\n```\r\n\r\nI have found that when this dependency is installed I get the following error (sometimes at runtime or sometimes at build):\r\n\r\n<img width=\"358\" alt=\"screen shot 2016-01-12 at 4 24 11 pm\" src=\"https://cloud.githubusercontent.com/assets/284476/12277377/017f4014-b949-11e5-9d05-8f9c992bf79f.png\">\r\n\r\nIf I remove the `babel` settings aforementioned this error does not occur. I think the opaque error message is due to https://github.com/facebook/react-native/issues/5191."}}