error: bundling failed:
Error: Unable to resolve module
AccessibilityInfo
fromD:\MyApp\node_modules\react-native\Libraries\react-native\react-native-implementation.js
: ModuleAccessibilityInfo
does not exist in the Haste module map
Asked
Active
Viewed 6,662 times
5

Community
- 1
- 1

Mahdi Bashirpour
- 17,147
- 12
- 117
- 144
-
you are importing a module that does not exist look for a import statement with AccessibilityInfo name – fayeed Jul 29 '18 at 12:10
-
I'm with the same problem here...if you solve, post your answer... – Rhadamez Gindri Hercilio Jul 29 '18 at 17:45
-
as I seen, it's a bug in the last version...see this: https://github.com/facebook/react-native/issues/19953 – Rhadamez Gindri Hercilio Jul 29 '18 at 17:53
-
here is answer for this issue. It works for me. https://stackoverflow.com/a/51413785/7093519 – Nyi Nyi Aug 13 '18 at 14:31
2 Answers
2
Its some incompatible versioning problems in React native.Try this it will work
Change versions of following in package.json In dependencies :-
"react": "16.3.1" "react-native": "0.55.4"
In devDependencies :-
"babel-preset-react-native": "2.1.0"
Delete node_modules and run
npm install --save
Then run application by
react-native run-android
It will run fine ...

Mahdi Bashirpour
- 17,147
- 12
- 117
- 144

Chirag Sharma
- 888
- 6
- 18
-
I am using react-native 0.63.4, and error is -- `error Unable to resolve module `AccessibilityInfo` from `react-native-calendars/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: AccessibilityInfo could not be found within the project.` Still no luck :( – Narendra Singh Jan 11 '21 at 14:34
0
Heading
first of all try with
npm start -- --reset-cache
If this is not working than delete node modules & npm install npm start -- --reset-cache

deepanshu katyal
- 631
- 1
- 8
- 18