Error is this
Error: Unable to resolve module metro/src/lib/bundle-modules/HMRClient
This error appeared when I had to create a new project and ran react-native run-android
just right after running react-native init PROJECT_NAME
. Why I had to create another project is due to another error shown in this question.
Now I can't seem to run any of my react-native applications due to these problems. I am thinking this is a cache problem or somethings? maybe unstable package versions.
I have also found this solution in GitHub threads and actually removed the error log, but keeps crashing my application in android emulator (android studio)
I have tried reinstalling react-native-cli, but still have this error.