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

Unable to resolve module AccessibilityInfo #26366

Closed
jseaidou opened this issue Sep 7, 2019 · 4 comments
Closed

Unable to resolve module AccessibilityInfo #26366

jseaidou opened this issue Sep 7, 2019 · 4 comments
Labels
API: AccessibilityInfo Bug Stale There has been a lack of activity on this issue and it may be closed soon. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@jseaidou
Copy link

jseaidou commented Sep 7, 2019

I am aware of previous issues like #14209, but these happened a couple years ago and the resolution for most of them is to change versions that are too old now.

I ran yarn install on my project, and then react-native start -- --reset-cache. The output of creating the bundle is:

error: bundling failed: Error: Unable to resolve module `AccessibilityInfo` from `/Users/jamil/code/myproject/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: Module `AccessibilityInfo` does not exist in the Haste module map

React Native version:

System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
    Memory: 2.79 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.9.1 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.10.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
  IDEs:
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.9.0 => 16.8.6
    react-native: ^0.60.5 => 0.60.5
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce

  1. yarn install with dependencies:
{
    "dependencies": {
    "@react-native-community/async-storage": "^1.6.1",
    "@react-native-community/geolocation": "^2.0.2",
    "@react-native-community/netinfo": "^4.1.5",
    "lodash": "latest",
    "moment": "^2.23.0",
    "prop-types": "^15.7.2",
    "react": "^16.9.0",
    "react-native": "^0.60.5",
    "react-native-animatable": "^1.3.2",
    "react-native-background-upload": "^5.1.0",
    "react-native-camera": "^3.2.0",
    "react-native-circular-progress": "^1.3.0",
    "react-native-contacts": "^5.0.2",
    "react-native-customized-image-picker": "^0.1.4",
    "react-native-datepicker": "^1.7.2",
    "react-native-device-info": "^2.3.2",
    "react-native-easy-toast": "^1.2.0",
    "react-native-elements": "^1.1.0",
    "react-native-fbsdk": "git+https://github.com/facebook/react-native-fbsdk.git",
    "react-native-firebase": "^5.5.6",
    "react-native-gesture-handler": "^1.4.0",
    "react-native-image-crop-picker": "^0.25.0",
    "react-native-image-picker": "^1.0.2",
    "react-native-keyboard-aware-scroll-view": "^0.9.1",
    "react-native-linear-gradient": "^2.5.4",
    "react-native-modal": "^11.3.1",
    "react-native-parsed-text": "^0.0.21",
    "react-native-permissions": "git+https://github.com/BaderSerhan/react-native-permissions",
    "react-native-phone-input": "^0.2.4",
    "react-native-progress": "^3.5.0",
    "react-native-reanimated": "^1.2.0",
    "react-native-share": "^2.0.0",
    "react-native-size-matters": "^0.2.1",
    "react-native-sms": "^1.9.0",
    "react-native-svg": "^9.6.4",
    "react-native-text-ticker": "^0.18.0",
    "react-native-vector-icons": "^6.6.0",
    "react-native-video": "^5.0.0",
    "react-native-video-processing": "git+https://git@github.com/shahen94/react-native-video-processing.git",
    "rn-fetch-blob": "^0.10.16",
    "yarn": "^1.17.3"
  },
  "devDependencies": {
    "babel-jest": "23.6.0",
    "babel-plugin-transform-remove-console": "^6.9.4",
    "jest": "23.6.0",
    "react-test-renderer": "16.6.3"
  },
  "jest": {
    "preset": "react-native"
  }
}
  1. react-native start -- --reset-cache

  2. curl http://localhost:8081/index.bundle -o main.jsbundle

@jseaidou jseaidou added the Bug label Sep 7, 2019
@react-native-bot react-native-bot added API: AccessibilityInfo Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. labels Sep 7, 2019
@teeolendo
Copy link

Unable to reproduce the error unfortunately. Mind running react-native info to get your full environment info?

@jseaidou
Copy link
Author

jseaidou commented Sep 9, 2019

@teeolendo the react native info is in the description, underreact native version

Sent with GitHawk

@stale
Copy link

stale bot commented Dec 8, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 8, 2019
@stale
Copy link

stale bot commented Dec 15, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 15, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: AccessibilityInfo Bug Stale There has been a lack of activity on this issue and it may be closed soon. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests

3 participants