Janardhanam Julapalli Ответов: 1

Проблема в настройке среды react native


Unable to resolve module `AccessibilityInfo` from `C:\Users\v89\awesomeProject\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 https://github.com/facebook/react-native/issues/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 $TMPDIR/react-*` or `npm start -- --reset-cache`.  4. Remove haste cache: `rm -rf $TMPDIR/haste-map-react-native-packager-*`.


Что я уже пробовал:

I tried everything recommended on internet, nothing is working. I am totally stuck on it. Please help

1 Ответов

Рейтинг:
1

Janardhanam Julapalli

react-native init ProjectName --version 0.55.4


Это сработало для меня!