{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/21150","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/21150/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/21150/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/21150/events","html_url":"https://github.com/facebook/react-native/issues/21150","id":360868352,"node_id":"MDU6SXNzdWUzNjA4NjgzNTI=","number":21150,"title":"Unable to resolve module `schedule/tracking`","user":{"login":"onmyway133","id":2284279,"node_id":"MDQ6VXNlcjIyODQyNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/2284279?v=4","gravatar_id":"","url":"https://api.github.com/users/onmyway133","html_url":"https://github.com/onmyway133","followers_url":"https://api.github.com/users/onmyway133/followers","following_url":"https://api.github.com/users/onmyway133/following{/other_user}","gists_url":"https://api.github.com/users/onmyway133/gists{/gist_id}","starred_url":"https://api.github.com/users/onmyway133/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onmyway133/subscriptions","organizations_url":"https://api.github.com/users/onmyway133/orgs","repos_url":"https://api.github.com/users/onmyway133/repos","events_url":"https://api.github.com/users/onmyway133/events{/privacy}","received_events_url":"https://api.github.com/users/onmyway133/received_events","type":"User","site_admin":false},"labels":[{"id":257498156,"node_id":"MDU6TGFiZWwyNTc0OTgxNTY=","url":"https://api.github.com/repos/facebook/react-native/labels/:large_blue_diamond:JavaScript","name":":large_blue_diamond:JavaScript","color":"bfd4f2","default":false},{"id":298628022,"node_id":"MDU6TGFiZWwyOTg2MjgwMjI=","url":"https://api.github.com/repos/facebook/react-native/labels/:wrench:Tooling","name":":wrench:Tooling","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-09-17T13:25:31Z","updated_at":"2018-10-07T17:13:20Z","closed_at":null,"author_association":"NONE","body":"## Environment\r\nReact Native Environment Info:\r\n    System:\r\n      OS: macOS High Sierra 10.13.6\r\n      CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\r\n      Memory: 536.34 MB / 16.00 GB\r\n      Shell: 5.3 - /bin/zsh\r\n    Binaries:\r\n      Node: 8.11.4 - ~/.nodenv/versions/8.11.4/bin/node\r\n      npm: 5.6.0 - ~/.nodenv/versions/8.11.4/bin/npm\r\n      Watchman: 4.9.0 - /usr/local/bin/watchman\r\n    SDKs:\r\n      iOS SDK:\r\n        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3\r\n    IDEs:\r\n      Android Studio: 3.1 AI-173.4907809\r\n      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild\r\n    npmPackages:\r\n      react: 16.4.1 => 16.4.1\r\n      react-native: ^0.57.0 => 0.57.0\r\n    npmGlobalPackages:\r\n      react-native-cli: 2.0.1\r\n\r\n## Description\r\nAfter updating to RN 0.57.0, I get \r\n\r\n```\r\nerror: bundling failed: Error: Unable to resolve module `schedule/tracking`\r\n```\r\n\r\n```\r\nLooking for JS files in\r\n   /Users/khoa/XcodeProject2/myapp\r\n\r\nwarning: the transform cache was reset.\r\nLoading dependency graph, done.\r\nerror: bundling failed: Error: Unable to resolve module `schedule/tracking` from `/Users/khoa/XcodeProject2/myapp/node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js`: Module `schedule/tracking` does not exist in the Haste module map\r\n\r\nThis might be related to https://github.com/facebook/react-native/issues/4968\r\nTo resolve try the following:\r\n  1. Clear watchman watches: `watchman watch-del-all`.\r\n  2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.\r\n  3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`.\r\n  4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`.\r\n    at ModuleResolver.resolveDependency (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:209:1301)\r\n    at ResolutionRequest.resolveDependency (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:83:16)\r\n    at DependencyGraph.resolveDependency (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/node-haste/DependencyGraph.js:238:485)\r\n    at Object.resolve (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/lib/transformHelpers.js:180:25)\r\n    at dependencies.map.result (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:311:29)\r\n    at Array.map (<anonymous>)\r\n    at resolveDependencies (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:307:16)\r\n    at /Users/khoa/XcodeProject2/myapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:164:33\r\n    at Generator.next (<anonymous>)\r\n    at step (/Users/khoa/XcodeProject2/myapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:266:307)\r\n```\r\n\r\n## Reproducible Demo\r\nLet us know how to reproduce the issue. Include a code sample, share a project, or     share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve\r\n\r\nRight now I need to switch back to 0.56.0 for it to work again. Also, on 0.57.0 I get https://github.com/facebook/react-native/issues/21094\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/427669838","html_url":"https://github.com/facebook/react-native/issues/21150#issuecomment-427669838","issue_url":"https://api.github.com/repos/facebook/react-native/issues/21150","id":427669838,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzY2OTgzOA==","user":{"login":"narciero","id":9964211,"node_id":"MDQ6VXNlcjk5NjQyMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/9964211?v=4","gravatar_id":"","url":"https://api.github.com/users/narciero","html_url":"https://github.com/narciero","followers_url":"https://api.github.com/users/narciero/followers","following_url":"https://api.github.com/users/narciero/following{/other_user}","gists_url":"https://api.github.com/users/narciero/gists{/gist_id}","starred_url":"https://api.github.com/users/narciero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narciero/subscriptions","organizations_url":"https://api.github.com/users/narciero/orgs","repos_url":"https://api.github.com/users/narciero/repos","events_url":"https://api.github.com/users/narciero/events{/privacy}","received_events_url":"https://api.github.com/users/narciero/received_events","type":"User","site_admin":false},"created_at":"2018-10-07T17:13:20Z","updated_at":"2018-10-07T17:13:20Z","author_association":"NONE","body":"it would be great if new releases of react-native were tested - the number of issues when upgrading is unbelievable"}}
{"actor":{"display_login":"narciero"}}