{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/7540","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/7540/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/7540/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/7540/events","html_url":"https://github.com/facebook/react-native/issues/7540","id":154569093,"number":7540,"title":"Unexpected Token ... require('React') when trying to run react-native","user":{"login":"nealdyrkacz","id":7388789,"avatar_url":"https://avatars.githubusercontent.com/u/7388789?v=3","gravatar_id":"","url":"https://api.github.com/users/nealdyrkacz","html_url":"https://github.com/nealdyrkacz","followers_url":"https://api.github.com/users/nealdyrkacz/followers","following_url":"https://api.github.com/users/nealdyrkacz/following{/other_user}","gists_url":"https://api.github.com/users/nealdyrkacz/gists{/gist_id}","starred_url":"https://api.github.com/users/nealdyrkacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealdyrkacz/subscriptions","organizations_url":"https://api.github.com/users/nealdyrkacz/orgs","repos_url":"https://api.github.com/users/nealdyrkacz/repos","events_url":"https://api.github.com/users/nealdyrkacz/events{/privacy}","received_events_url":"https://api.github.com/users/nealdyrkacz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Needs%20more%20information","name":"Needs more information","color":"f7c6c7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-12T20:04:45Z","updated_at":"2016-05-13T19:30:15Z","closed_at":"2016-05-13T19:30:15Z","body":"Using mac trying to get some code we have in our repo running.  Installed on Mac.\r\n\r\nTried removing node / npm / nvm and reinstalling everything including code from repo. Still having issues...\r\n\r\n\r\nreact-native run-ios\r\n/node_modules/react-native/Libraries/react-native/react-native.js:121\r\n  ...require('React'),\r\n  ^^^\r\n\r\nSyntaxError: Unexpected token ...\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:414:25)\r\n    at Module._extensions..js (module.js:442:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/node_modules/react-native/node_modules/babel-register/lib/node.js:166:7)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:409:22\r\n    at Array.map (native)\r\n"}}