"Unhandled JS Exception: TypeError"
I just reset the settings of my IPhone simulator (by clicking Reset Content and Settings) and now I have a problem that I have never encountered. Here he is:
I insist that the project worked fine before this reset, but I needed to clear the app's local sort. I saw some messages where poeple changed location index.ios.js
, which is not my case.
I don't know where to look ...
This is a simple react project using reduction ... Feel free to ask me questions!
source to share
I fixed it by running 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 someone helps someday
source to share