{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/20039","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/20039/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/20039/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/20039/events","html_url":"https://github.com/facebook/react-native/issues/20039","id":338376788,"node_id":"MDU6SXNzdWUzMzgzNzY3ODg=","number":20039,"title":"Unable to use 'react-native-init {project}' (error)","user":{"login":"alexharrisdcj","id":7636000,"node_id":"MDQ6VXNlcjc2MzYwMDA=","avatar_url":"https://avatars1.githubusercontent.com/u/7636000?v=4","gravatar_id":"","url":"https://api.github.com/users/alexharrisdcj","html_url":"https://github.com/alexharrisdcj","followers_url":"https://api.github.com/users/alexharrisdcj/followers","following_url":"https://api.github.com/users/alexharrisdcj/following{/other_user}","gists_url":"https://api.github.com/users/alexharrisdcj/gists{/gist_id}","starred_url":"https://api.github.com/users/alexharrisdcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexharrisdcj/subscriptions","organizations_url":"https://api.github.com/users/alexharrisdcj/orgs","repos_url":"https://api.github.com/users/alexharrisdcj/repos","events_url":"https://api.github.com/users/alexharrisdcj/events{/privacy}","received_events_url":"https://api.github.com/users/alexharrisdcj/received_events","type":"User","site_admin":false},"labels":[{"id":836679689,"node_id":"MDU6TGFiZWw4MzY2Nzk2ODk=","url":"https://api.github.com/repos/facebook/react-native/labels/:clipboard:No%20Template","name":":clipboard:No Template","color":"d4c5f9","default":false},{"id":337217254,"node_id":"MDU6TGFiZWwzMzcyMTcyNTQ=","url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-04T21:18:06Z","updated_at":"2018-07-07T03:34:43Z","closed_at":"2018-07-04T22:05:04Z","author_association":"NONE","body":"I've been using React Native for a few weeks now, working through several learning projects.\r\n\r\nHowever, I'm no longer able to init a new project, as I get the following error. I've used the init command as recently as a few days ago. Any ideas?\r\n\r\n```\r\nC:\\ReactNative\\{project}\\node_modules\\react-native\\local-cli\\cliEntry.js:30\r\nimport type {CommandT} from './commands';\r\n^^^^^^\r\n\r\nSyntaxError: Unexpected token import\r\n    at new Script (vm.js:51:7)\r\n    at createScript (vm.js:136:10)\r\n    at Object.runInThisContext (vm.js:197:10)\r\n    at Module._compile (module.js:613:28)\r\n    at Module._compile (C:\\ReactNative\\manager3\\node_modules\\pirates\\lib\\index.js:91:24)\r\n    at Module._extensions..js (module.js:660:10)\r\n    at Object.newLoader [as .js] (C:\\ReactNative\\manager3\\node_modules\\pirates\\lib\\index.js:96:7)\r\n    at Module.load (module.js:561:32)\r\n    at tryModuleLoad (module.js:501:12)\r\n    at Function.Module._load (module.js:493:3)\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/403185387","html_url":"https://github.com/facebook/react-native/issues/20039#issuecomment-403185387","issue_url":"https://api.github.com/repos/facebook/react-native/issues/20039","id":403185387,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE4NTM4Nw==","user":{"login":"jovanxua","id":26292093,"node_id":"MDQ6VXNlcjI2MjkyMDkz","avatar_url":"https://avatars3.githubusercontent.com/u/26292093?v=4","gravatar_id":"","url":"https://api.github.com/users/jovanxua","html_url":"https://github.com/jovanxua","followers_url":"https://api.github.com/users/jovanxua/followers","following_url":"https://api.github.com/users/jovanxua/following{/other_user}","gists_url":"https://api.github.com/users/jovanxua/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanxua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanxua/subscriptions","organizations_url":"https://api.github.com/users/jovanxua/orgs","repos_url":"https://api.github.com/users/jovanxua/repos","events_url":"https://api.github.com/users/jovanxua/events{/privacy}","received_events_url":"https://api.github.com/users/jovanxua/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T03:34:43Z","updated_at":"2018-07-07T03:34:43Z","author_association":"NONE","body":"same here when invoking react-native init <projectname>. I think we need to file new issue and follow new issue template? Any updates? "}}
{"actor":{"display_login":"jovanxua"}}