Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: bundling failed: Error: Unable to resolve module AccessibilityInfo #5

Open
milanamatya opened this issue Jul 12, 2018 · 1 comment

Comments

@milanamatya
Copy link

error: bundling failed: Error: Unable to resolve module AccessibilityInfo from E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module AccessibilityInfo does not exist in the Haste module map

This might be related to facebook/react-native#4968
To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache. 4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.
    at ModuleResolver.resolveDependency (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:167:1306)
    at ResolutionRequest.resolveDependency (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:80:16)
    at DependencyGraph.resolveDependency (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\node-haste\DependencyGraph.js:237:485)
    at Object.resolve (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\lib\transformHelpers.js:116:25)
    at dependencies.map.result (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\DeltaBundler\traverseDependencies.js:298:29)
    at Array.map ()
    at resolveDependencies (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\DeltaBundler\traverseDependencies.js:294:16)
    at E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\DeltaBundler\traverseDependencies.js:159:33
    at Generator.next ()
    at step (E:\xampp_new\htdocs\react-native-airbnb-clone\node_modules\metro\src\DeltaBundler\traverseDependencies.js:239:307)
    BUNDLE [android, dev] ./index.js ââââââââââââââââ 0.0% (1/52), failed.
@SuiCxDe007
Copy link

Same error here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants