{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3948","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3948/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3948/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3948/events","html_url":"https://github.com/facebook/react-native/issues/3948","id":115476607,"number":3948,"title":"Can't compile Xcode with new projects","user":{"login":"heliumsoule","id":4875671,"avatar_url":"https://avatars.githubusercontent.com/u/4875671?v=3","gravatar_id":"","url":"https://api.github.com/users/heliumsoule","html_url":"https://github.com/heliumsoule","followers_url":"https://api.github.com/users/heliumsoule/followers","following_url":"https://api.github.com/users/heliumsoule/following{/other_user}","gists_url":"https://api.github.com/users/heliumsoule/gists{/gist_id}","starred_url":"https://api.github.com/users/heliumsoule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heliumsoule/subscriptions","organizations_url":"https://api.github.com/users/heliumsoule/orgs","repos_url":"https://api.github.com/users/heliumsoule/repos","events_url":"https://api.github.com/users/heliumsoule/events{/privacy}","received_events_url":"https://api.github.com/users/heliumsoule/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":46,"created_at":"2015-11-06T10:17:07Z","updated_at":"2015-11-17T21:36:47Z","closed_at":null,"body":"I recently updated node to 5.0.0 and react-native won't compile in Xcode. Previous projects still work though. Does anyone have any thoughts? Thank you!\r\n\r\n+ react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/[username]/Library/Developer/Xcode/DerivedData/firstP-diwselkaoasmusemncrzcyzygens/Build/Products/Debug-iphonesimulator/firstP.app/main.jsbundle --assets-dest /Users/[username]/Library/Developer/Xcode/DerivedData/firstP-diwselkaoasmusemncrzcyzygens/Build/Products/Debug-iphonesimulator/firstP.app\r\n../node_modules/react-native/packager/react-native-xcode.sh: line 36: react-native: command not found\r\nCommand /bin/sh failed with exit code 127\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/157515757","html_url":"https://github.com/facebook/react-native/issues/3948#issuecomment-157515757","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3948","id":157515757,"user":{"login":"Thorbenandresen","id":8238976,"avatar_url":"https://avatars.githubusercontent.com/u/8238976?v=3","gravatar_id":"","url":"https://api.github.com/users/Thorbenandresen","html_url":"https://github.com/Thorbenandresen","followers_url":"https://api.github.com/users/Thorbenandresen/followers","following_url":"https://api.github.com/users/Thorbenandresen/following{/other_user}","gists_url":"https://api.github.com/users/Thorbenandresen/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorbenandresen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorbenandresen/subscriptions","organizations_url":"https://api.github.com/users/Thorbenandresen/orgs","repos_url":"https://api.github.com/users/Thorbenandresen/repos","events_url":"https://api.github.com/users/Thorbenandresen/events{/privacy}","received_events_url":"https://api.github.com/users/Thorbenandresen/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T21:36:47Z","updated_at":"2015-11-17T21:36:47Z","body":"@christopherdro I think I missed out an important line (see first line) in my error log from above: \r\n\r\n`/Users/thorbenandresen2/Documents/@Code - React Native/rn_starterv4/node_modules/react-native/local-cli/cli.js:56\r\n  const setupEnvScript = /^win/.test(process.platform)\r\n  ^^^^^\r\nSyntaxError: Use of const in strict mode.\r\n    at Module._compile (module.js:439:25)\r\n    at Module._extensions..js (module.js:474:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/thorbenandresen2/Documents/@Code - React Native/rn_starterv4/node_modules/babel-core/lib/api/register/node.js:214:7)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/Users/thorbenandresen2/Documents/@Code - React Native/rn_starterv4/node_modules/react-native/cli.js:15:18)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\nCommand /bin/sh failed with exit code 8\r\n`"}}