React Native Error: Unable to resolve module `./index`

I think this question might be related to Unable to resolve module `./index` So the question is, did you try to run the app before you connected facebook? If it worked before then we might have a different issue. However, it's similar to this bug: https://github.com/facebook/react-native/issues/24112

A fix has been released a few hours ago. Please upgrade to react-native 0.59.2.

react-native upgrade

The full guide on how to upgrade: https://facebook.github.io/react-native/docs/upgrading


Thats an error of your backendserver ... look inside the config and remove the module which can't be found


Used npm start -- --reset-cache to run Metro Bundler and it worked. Found this solution looking for the answer to the same issue, SO post that helped me.

Tags:

React Native