{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/11498","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/11498/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/11498/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/11498/events","html_url":"https://github.com/facebook/react-native/issues/11498","id":195921761,"number":11498,"title":"Unable to resolve module","user":{"login":"tedjames","id":13091675,"avatar_url":"https://avatars.githubusercontent.com/u/13091675?v=3","gravatar_id":"","url":"https://api.github.com/users/tedjames","html_url":"https://github.com/tedjames","followers_url":"https://api.github.com/users/tedjames/followers","following_url":"https://api.github.com/users/tedjames/following{/other_user}","gists_url":"https://api.github.com/users/tedjames/gists{/gist_id}","starred_url":"https://api.github.com/users/tedjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedjames/subscriptions","organizations_url":"https://api.github.com/users/tedjames/orgs","repos_url":"https://api.github.com/users/tedjames/repos","events_url":"https://api.github.com/users/tedjames/events{/privacy}","received_events_url":"https://api.github.com/users/tedjames/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-15T21:33:23Z","updated_at":"2017-01-15T21:27:56Z","closed_at":"2016-12-15T23:12:44Z","body":"### Description\r\nUnfortunately, I’ve run into a devastating bug that prevents me from loading any new modules into my app. I first discovered this bug when reaching the part of a react native course by Stephen Grider where he goes into networking with Axios. \r\n\r\nAfter installing Axios with NPM, I imported it, saved index.ios.js, and refreshed the simulator. After refreshing I was greeted with the message shown below:\r\n\r\n<img width=\"1189\" alt=\"bug3\" src=\"https://cloud.githubusercontent.com/assets/13091675/21242561/f16694c6-c2e2-11e6-8f35-a03ea7c493ea.png\">\r\n\r\nWhenever I removed the import statement for Axios and refreshed, the error would go away:\r\n\r\n<img width=\"1203\" alt=\"bug4\" src=\"https://cloud.githubusercontent.com/assets/13091675/21242579/07cb2f24-c2e3-11e6-9f7c-c15233e7ea08.png\">\r\n\r\n\r\n### Reproduction\r\nTo reproduce this, I'd suggest building the app with NPM and/or Yarn running on Node 4.7 or the latest LTS release, Node 6.9.2\r\n\r\nI can provide a repository later today if that would help...\r\n\r\n### Solution - **_just a workaround..._**\r\n\r\nTry this:\r\n1. Click \"Reset content and settings...\" in the simulator's drop down menu and confirm\r\n2. Close the simulator after it reloads\r\n3. Close the terminal window running watchman\r\n4. Run the following commands within terminal inside of your project's directory:\r\n```\r\nwatchman watch-del-all\r\nrm -rf ./node_modules\r\nnpm cache clean\r\nyarn cache clean\r\nrm -rf $TMPDIR/react-*\r\nyarn install\r\nnpm cache clean\r\nyarn cache clean\r\nyarn add uuid\r\n```\r\nIf you don't have yarn installed, run these commands instead:\r\n```\r\nwatchman watch-del-all\r\nrm -rf ./node_modules\r\nnpm cache clean\r\nrm -rf $TMPDIR/react-*\r\nnpm install\r\nnpm cache clean\r\nnpm install uuid\r\n```\r\n5. Rebuild the project inside of Xcode and be sure to make any suggested modifications prior to running the app.\r\n\r\n### Additional Information\r\n\r\n* NPM version: 2.15.9 -> 4.0.3 (just updated to the latest version and the bug remains)\r\n* Yarn version: 0.17.10\r\n* Xcode version: 8.2 (8C38)\r\n* React Native version: 0.39.2\r\n* Platform: iOS\r\n* Operating System: MacOS Sierra 10.12.2\r\n\r\n\r\nI was really excited to finally get started with React Native but this bug absolutely kills my ability to proceed with any tutorials/courses. I'd really appreciate if someone could help me out with this.\r\n\r\nThanks :)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/272725159","html_url":"https://github.com/facebook/react-native/issues/11498#issuecomment-272725159","issue_url":"https://api.github.com/repos/facebook/react-native/issues/11498","id":272725159,"user":{"login":"boyney123","id":3268013,"avatar_url":"https://avatars.githubusercontent.com/u/3268013?v=3","gravatar_id":"","url":"https://api.github.com/users/boyney123","html_url":"https://github.com/boyney123","followers_url":"https://api.github.com/users/boyney123/followers","following_url":"https://api.github.com/users/boyney123/following{/other_user}","gists_url":"https://api.github.com/users/boyney123/gists{/gist_id}","starred_url":"https://api.github.com/users/boyney123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyney123/subscriptions","organizations_url":"https://api.github.com/users/boyney123/orgs","repos_url":"https://api.github.com/users/boyney123/repos","events_url":"https://api.github.com/users/boyney123/events{/privacy}","received_events_url":"https://api.github.com/users/boyney123/received_events","type":"User","site_admin":false},"created_at":"2017-01-15T21:27:56Z","updated_at":"2017-01-15T21:27:56Z","body":"Nothing seems to work for me, trying to install about 10 different XML parsers in R.N and just getting this error message.\r\n\r\nAnybody got any more solutions, almost tried everything :/"}}
{"actor":{"display_login":"boyney123"}}