{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/16216","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/16216/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/16216/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/16216/events","html_url":"https://github.com/facebook/react-native/issues/16216","id":263110154,"number":16216,"title":"Upgrade to RN 0.49 -  bundling failed: Error: require() must have a single string literal argument","user":{"login":"forki","id":57396,"avatar_url":"https://avatars1.githubusercontent.com/u/57396?v=4","gravatar_id":"","url":"https://api.github.com/users/forki","html_url":"https://github.com/forki","followers_url":"https://api.github.com/users/forki/followers","following_url":"https://api.github.com/users/forki/following{/other_user}","gists_url":"https://api.github.com/users/forki/gists{/gist_id}","starred_url":"https://api.github.com/users/forki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forki/subscriptions","organizations_url":"https://api.github.com/users/forki/orgs","repos_url":"https://api.github.com/users/forki/repos","events_url":"https://api.github.com/users/forki/events{/privacy}","received_events_url":"https://api.github.com/users/forki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":48,"created_at":"2017-10-05T12:40:34Z","updated_at":"2017-10-10T15:37:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Is this a bug report?\r\n\r\nyes\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\n\r\nyes\r\n\r\n### Environment\r\n\r\nreact-native.cmd info\r\nScanning folders for symlinks in D:\\code\\msu.Reading\\node_modules (18ms)\r\n\r\nEnvironment:\r\n  OS:  Windows 10\r\n  Node:  7.0.0\r\n  Yarn:  1.0.2\r\n  npm:  3.10.9\r\n  Watchman:  Not Found\r\n\r\n### Steps to Reproduce\r\n\r\n1. having production app in RN 0.48\r\n2. upgrade to RN 0.49 and react 16.0.0-beta.5\r\n\r\nreact-native run-android:\r\n\r\n\r\n### Expected Behavior\r\n\r\nNormal app start\r\n\r\n### Actual Behavior\r\n\r\n    error: bundling failed: Error: require() must have a single string literal argument\r\n        at pushDependency (D:\\code\\msu.Reading\\node_modules\\react-native\\node_modules\\metro-bundler\\src\\JSTransformer\\worker\\extract-dependencies.js:39:13)\r\n        at CallExpression (D:\\code\\msu.Reading\\node_modules\\react-native\\node_modules\\metro-bundler\\src\\JSTransformer\\worker\\extract-dependencies.js:50:9)\r\n        at NodePath._call (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\path\\context.js:76:18)\r\n        at NodePath.call (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\path\\context.js:48:17)\r\n        at NodePath.visit (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\path\\context.js:105:12)\r\n        at TraversalContext.visitQueue (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\context.js:150:16)\r\n        at TraversalContext.visitMultiple (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\context.js:103:17)\r\n        at TraversalContext.visit (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\context.js:190:19)\r\n        at Function.traverse.node (D:\\code\\msu.Reading\\node_modules\\babel-traverse\\lib\\index.js:114:17)\r\n\r\n![image](https://user-images.githubusercontent.com/57396/31227630-d06c5f96-a9da-11e7-8d4b-3c7b3a5cab5a.png)\r\n\r\n### Related \r\n\r\nhttps://github.com/realm/realm-js/issues/1342\r\nhttps://github.com/realm/realm-js/pull/1346\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/335514289","html_url":"https://github.com/facebook/react-native/issues/16216#issuecomment-335514289","issue_url":"https://api.github.com/repos/facebook/react-native/issues/16216","id":335514289,"user":{"login":"tonybennett","id":4096877,"avatar_url":"https://avatars2.githubusercontent.com/u/4096877?v=4","gravatar_id":"","url":"https://api.github.com/users/tonybennett","html_url":"https://github.com/tonybennett","followers_url":"https://api.github.com/users/tonybennett/followers","following_url":"https://api.github.com/users/tonybennett/following{/other_user}","gists_url":"https://api.github.com/users/tonybennett/gists{/gist_id}","starred_url":"https://api.github.com/users/tonybennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonybennett/subscriptions","organizations_url":"https://api.github.com/users/tonybennett/orgs","repos_url":"https://api.github.com/users/tonybennett/repos","events_url":"https://api.github.com/users/tonybennett/events{/privacy}","received_events_url":"https://api.github.com/users/tonybennett/received_events","type":"User","site_admin":false},"created_at":"2017-10-10T15:37:02Z","updated_at":"2017-10-10T15:37:02Z","author_association":"NONE","body":"Fixed in moment 2.19.0, working for me with RN 0.49.3.\r\n\r\nhttps://github.com/moment/moment/blob/develop/CHANGELOG.md"}}
{"actor":{"display_login":"tonybennett"}}