Reputation: 31
I am stuck with running my application using React Native version 0.68.2. Suddenly, the application stopped responding to the JavaScript code changes (hot reload) - I've checked and the option is "on". Also, the console logs are not visible anymore in the console and the simulator does not connect to the Reactotron. Same case for both iOS and Android. I can build and run the application but the Axios also do not work. Different application with almost identical configurations but running React Native version 0.66 working great. I've tried to reset the cache for Metro (npx react-native start --reset-cache). No errors or warnings are shown while I start the application.
Upvotes: 1
Views: 841
Reputation: 130
I don't know what your problem is, but try to clean anything
Delete your project folder in /Users/{YOUR_USERNAME}/Library/Developer/Xcode/DerivedData/
and run to clean all:
watchman watch-del-all && rm -f podfile.lock && rm -rf node_modules && yarn && cd ios && pod install && cd .. && yarn start --reset-cache
I hope it can help you!
Upvotes: 0