LeZohan68 LeZohan68 - 11 days ago 4
React JSX Question

"Unhandled JS Exception: TypeError"

I just reset the settings of my IPhone simulator (By hitting 'Reset Content and Settings) and now I'm getting an issue I never had before. Here it is:

enter image description here

I insist on the fact that the project perfectly worked before this reset, but I needed to clear the local sorage of the app. I did see some posts when poeple changed the location of the

index.ios.js
which is not my case.

I don't have any idea where to search ...

This it a simple react-native project using redux... Feel free to ask me precisions !

Answer

I fixed this by launching this command: ./node_modules/react-native/packager/packager.sh start --resetCache

Found it there https://github.com/facebook/react-native/issues/5747 (Kureev's answer).

Hope it helps someone someday

Comments