{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/15559","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/15559/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/15559/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/15559/events","html_url":"https://github.com/facebook/react-native/issues/15559","id":251392042,"number":15559,"title":"react-native transform error on default AwesomeProject (unknown corruption from fresh reinstall)","user":{"login":"aspiringguru","id":9206134,"avatar_url":"https://avatars2.githubusercontent.com/u/9206134?v=4","gravatar_id":"","url":"https://api.github.com/users/aspiringguru","html_url":"https://github.com/aspiringguru","followers_url":"https://api.github.com/users/aspiringguru/followers","following_url":"https://api.github.com/users/aspiringguru/following{/other_user}","gists_url":"https://api.github.com/users/aspiringguru/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiringguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiringguru/subscriptions","organizations_url":"https://api.github.com/users/aspiringguru/orgs","repos_url":"https://api.github.com/users/aspiringguru/repos","events_url":"https://api.github.com/users/aspiringguru/events{/privacy}","received_events_url":"https://api.github.com/users/aspiringguru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-08-19T01:39:44Z","updated_at":"2017-08-27T06:10:08Z","closed_at":null,"body":"### Is this a bug report?\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### Environment\r\n\r\nWindows 10 ver 15063.540\r\n\r\nreact-native-cli: 2.0.1 \r\n\r\nreact-native: 0.47.1 \r\n\r\nnode v6.11.2\r\n\r\nnot using yarn\r\n\r\n- Development Operating System:\r\n\r\nandroid-studio ver 2.3.3\r\n\r\n- Build tools:\r\n\r\n### Steps to Reproduce\r\n\r\n<!--\r\n  How would you describe your issue to someone who doesn’t know you or your project?\r\n  Try to write a sequence of steps that anybody can repeat to see the issue.\r\n  Be specific! If the bug cannot be reproduced, your issue may be closed.\r\n-->\r\n\r\n(Write your steps here:)\r\n\r\nreact-native init AwesomeProject \r\n\r\ncd AwesomeProject \r\n[standard project directory is found. have been developing for approx 8 days. previous various error types which managed to debug and resolve. This is different.]\r\n\r\nreact-native run-android\r\n\r\n\r\n### Expected Behavior\r\n\r\nexpected standard AwesomeProject to load.\r\n\r\n### Actual Behavior\r\n\r\nPreviously had react-native running nicely, don't recall changing anything, then this error which has proved impossible to clear.environment Windows 10 react-native-cli: 2.0.1 react-native: 0.47.1 node v6.11.2fresh install of node.js after uninstalling previous versions and removing all node and npm directories from paths. fresh install of react-native as per https://facebook.github.io/react-native/docs/getting-started.htmlreact-native init AwesomeProject cd AwesomeProject react-native run-androidalso triednpm i -g react-native-git-upgradereact-native-git-upgradereboot, new project, uninstall node, reinstall node, reinstall react-native, new project.still same problem.repeated with react-native-git-upgrade v0.47.0 Wondering if I should try downgrading to an earlier version. Weird thing is it was working a 2 days ago on react-native version downloaded and installed 8-9 days ago.Repeatedly getting same error as below. lost too much time on this. really hurts.The development server returned response error code: 500URL: http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=falseBody: {\"message\":\"TransformError: D:\\blah\\AwesomeProject\\index.android.js: Unexpected token ) (While processing preset: \\\"D:\\\\blah\\\\AwesomeProject\\\\node_modules\\\\babel-preset-react-native\\\\index.js\\\")\",\"type\":\"TransformError\",\"lineNumber\":0,\"description\":\"\",\"errors\":[{\"description\":\"\",\"lineNumber\":0}]} processBundleResult BundleDownloader.java:170 access$100 BundleDownloader.java:39 onResponse BundleDownloader.java:139 execute RealCall.java:135 run NamedRunnable.java:32 runWorker ThreadPoolExecutor.java:1133 run ThreadPoolExecutor.java:607 run Thread.java:761\r\n--\r\n\r\n\r\n\r\n\r\n\r\n-->\r\nred error screen on android studio android emulator \r\nno additional error info via external debugger.\r\n\r\nhave tried \r\n\r\nnpm i -g react-native-git-upgrade\r\n\r\nreact-native-git-upgrade\r\n\r\nand\r\n\r\nreact-native-git-upgrade v0.47.0\r\n\r\nalways the same problem.\r\n\r\n\r\n### Reproducible Demo\r\n\r\nhttps://snack.expo.io/SJz9BMSdW\r\n\r\nNB: above example with all stylsheet references removed and simplified to most basic hello world.\r\n\r\nhave checked previous path settings from previous installs were removed priot to reinstalls.\r\n\r\nreally at a loss here. Don't know what else I can possibly check.\r\n\r\nnb: have choco installed, I think previous install did not use choco to install nodejs, uninstall was without using choco.\r\nchecked choco uninstall nodejs  : said nodejs not installed prior to reinstalling without choco.\r\n\r\njust bought a new laptop and really not enjoying this. also wondering if problems are less on a linux based dev environment.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/325179305","html_url":"https://github.com/facebook/react-native/issues/15559#issuecomment-325179305","issue_url":"https://api.github.com/repos/facebook/react-native/issues/15559","id":325179305,"user":{"login":"bchehraz","id":7946204,"avatar_url":"https://avatars0.githubusercontent.com/u/7946204?v=4","gravatar_id":"","url":"https://api.github.com/users/bchehraz","html_url":"https://github.com/bchehraz","followers_url":"https://api.github.com/users/bchehraz/followers","following_url":"https://api.github.com/users/bchehraz/following{/other_user}","gists_url":"https://api.github.com/users/bchehraz/gists{/gist_id}","starred_url":"https://api.github.com/users/bchehraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchehraz/subscriptions","organizations_url":"https://api.github.com/users/bchehraz/orgs","repos_url":"https://api.github.com/users/bchehraz/repos","events_url":"https://api.github.com/users/bchehraz/events{/privacy}","received_events_url":"https://api.github.com/users/bchehraz/received_events","type":"User","site_admin":false},"created_at":"2017-08-27T06:10:08Z","updated_at":"2017-08-27T06:10:08Z","body":"@Almjz I'm using the RallyCoding extension on ESLint. I think to address this you can try to remove all of ESLint, it's possible that some other unneeded packages are interfering with your ESLint. To do this, run this command in the project directory:\r\n\r\n`npm uninstall eslint`\r\n\r\nAfter that, I will run the command that installs this specific ESLint in the same directory:\r\n\r\n`npm install --save-dev eslint-config-rallycoding`\r\n\r\nThis may or may not fix your problem. And in my .eslintrc file I would put (inside specific project directory):\r\n\r\n`\r\n{\r\n  \"extends\": \"rallycoding\"\r\n}\r\n`\r\n\r\nLet me know if that works for you."}}
{"actor":{"display_login":"bchehraz"}}