@nick32

React Native не запускается. Как исправить?

Вот сообщение от отладочного сервера react native start:
Bundling `index.android.js` [development, non-minified, hmr disabled] 0.0% (0/237), failed.
error: bundling failed: "Unable to resolve module `ReactNative` from `C:\\Users\\Artem\\Documents\\WebstormProjects\\ReactNative\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js`: Module does not exist in the module map\n\nThis might be related to https://github.com/facebook/react-native/issues/49... resolve try the following:\n 1. Clear watchman watches: `watchman watch-del-all`.\n 2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.\n 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`."
  • Вопрос задан
  • 790 просмотров
Пригласить эксперта
Ответы на вопрос 1
@aol-nnov
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 packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`


всё попробовал?
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы