N
N
nick322017-08-15 20:52:26
Android
nick32, 2017-08-15 20:52:26

React Native won't launch. How to fix?

Here is the message from the react native start debug server:
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`."

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2017-08-16
@aol-nnov

try the following:
tried everything?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question