UnableToResolveError: Unable to resolve module `AccessibilityInfo`
Problem
Description I basically just cloned an existing project with a minimal setup, did `yarn install` and `node node_modules/react-native/local-cli/cli.js run-ios`. It started but the packer failed with: [code block] I found `get AccessibilityInfo() { return require('AccessibilityInfo'); },` in the `/Users/phillipp/Work///node_modules/react-native/Libraries/react-native/react-native-implementation.js` file but I have no clue where it wants to require that from. It seems to be a RN core thing. Here is the `package.json` for those who are curious: [code block] I already tried everything I found on the internet (reinstalling node modules, cleaning npm, yarn and watchman caches, deleting react files from temp dir, etc.) Additional Information React Native version: `^0.44.0` Platform: `ios` Development Operating System: OSX Dev tools: XCode Version 8.0 (8A218a)
Error Output
error: bundling: UnableToResolveError: Unable to resolve module `AccessibilityInfo` from `/Users/phillipp/Work/***/***/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: Module
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: UnableToResolveError: Unable to resolve module `AccessibilityInfo`
same here. but after downgrading from 0.44.2 to 0.44.1 the issue vanished and everything is back to normal.
Trust Score
5 verifications
- 1
same here. but after downgrading from 0.44.2 to 0.44.1 the issue vanished and ev
same here. but after downgrading from 0.44.2 to 0.44.1 the issue vanished and everything is back to normal.
Validation
Resolved in facebook/react-native GitHub issue #14209. Community reactions: 9 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep