{"action":"created","issue":{"url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/230","repository_url":"https://api.github.com/repos/reactnativecn/react-native-pushy","labels_url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/230/comments","events_url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/230/events","html_url":"https://github.com/reactnativecn/react-native-pushy/issues/230","id":379685642,"node_id":"MDU6SXNzdWUzNzk2ODU2NDI=","number":230,"title":"Module `AccessibilityInfo` does not exist in the Haste module map","user":{"login":"myvary","id":19232959,"node_id":"MDQ6VXNlcjE5MjMyOTU5","avatar_url":"https://avatars2.githubusercontent.com/u/19232959?v=4","gravatar_id":"","url":"https://api.github.com/users/myvary","html_url":"https://github.com/myvary","followers_url":"https://api.github.com/users/myvary/followers","following_url":"https://api.github.com/users/myvary/following{/other_user}","gists_url":"https://api.github.com/users/myvary/gists{/gist_id}","starred_url":"https://api.github.com/users/myvary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myvary/subscriptions","organizations_url":"https://api.github.com/users/myvary/orgs","repos_url":"https://api.github.com/users/myvary/repos","events_url":"https://api.github.com/users/myvary/events{/privacy}","received_events_url":"https://api.github.com/users/myvary/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-12T09:20:03Z","updated_at":"2018-11-30T14:21:10Z","closed_at":"2018-11-30T09:40:24Z","author_association":"NONE","body":"```\r\nBundling with React Native version:  0.57.0\r\nLoading dependency graph, done.\r\nError: Unable to resolve module `AccessibilityInfo` from `/Users/liuxin/work/Android/******/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: Module `AccessibilityInfo` 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/liuxin/work/Android/*******/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:209:1301)\r\n    at ResolutionRequest.resolveDependency (/Users/liuxin/work/Android/******/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:83:16)\r\n    at DependencyGraph.resolveDependency (/Users/liuxin/work/Android/******/node_modules/metro/src/node-haste/DependencyGraph.js:238:485)\r\n    at Object.resolve (/Users/liuxin/work/Android/*******/node_modules/metro/src/lib/transformHelpers.js:180:25)\r\n    at dependencies.map.result (/Users/liuxin/work/Android/******/node_modules/metro/src/DeltaBundler/traverseDependencies.js:311:29)\r\n    at Array.map (<anonymous>)\r\n    at resolveDependencies (/Users/liuxin/work/Android/******/node_modules/metro/src/DeltaBundler/traverseDependencies.js:307:16)\r\n    at /Users/liuxin/work/Android/******/node_modules/metro/src/DeltaBundler/traverseDependencies.js:164:33\r\n    at Generator.next (<anonymous>)\r\n    at step (/Users/liuxin/work/Android/******/node_modules/metro/src/DeltaBundler/traverseDependencies.js:266:307)\r\n```\r\n查看Issues #224 ,有相同问题。我在这里斗胆再发一遍，orz\r\n\r\n#### 目前只能通过降低react native来解决吗？"},"comment":{"url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/comments/443217498","html_url":"https://github.com/reactnativecn/react-native-pushy/issues/230#issuecomment-443217498","issue_url":"https://api.github.com/repos/reactnativecn/react-native-pushy/issues/230","id":443217498,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzIxNzQ5OA==","user":{"login":"Abreto","id":1196941,"node_id":"MDQ6VXNlcjExOTY5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1196941?v=4","gravatar_id":"","url":"https://api.github.com/users/Abreto","html_url":"https://github.com/Abreto","followers_url":"https://api.github.com/users/Abreto/followers","following_url":"https://api.github.com/users/Abreto/following{/other_user}","gists_url":"https://api.github.com/users/Abreto/gists{/gist_id}","starred_url":"https://api.github.com/users/Abreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abreto/subscriptions","organizations_url":"https://api.github.com/users/Abreto/orgs","repos_url":"https://api.github.com/users/Abreto/repos","events_url":"https://api.github.com/users/Abreto/events{/privacy}","received_events_url":"https://api.github.com/users/Abreto/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T14:21:10Z","updated_at":"2018-11-30T14:21:10Z","author_association":"NONE","body":"> 谢谢大佬们的pr，我目前用的是自建的code-push 。没有验证目前是否可用，暂时关闭\r\n\r\n我这边试了下可以正常热更新\r\n\r\n(另外能问下你自建 code-push 参考的资料吗？以及是否支持 0.57 版本？"}}
{"actor":{"display_login":"Abreto"}}