Closed sanjaykumarbal closed 5 years ago
👋 there. You posted this issue in the wrong repo, you should be posting this on the main react native repo. This repository is for long form discussions about react native, as pointed out by the template.
Also, I suggest you upgrade one version at the time and use this lib to keep an eye on which changes you need to do https://github.com/pvinis/rn-diff-purge + read the changelog.
I upgraded my app from 0.55.5 to 0.58.3. While running the app on ios simulator, i am getting the below error:
Loading dependency graph, done. error: bundling failed: Error: Unable to resolve module
axios/index
from/Users/testuser/Documents/Work/Projects/MyApp/src/api/http_methods/environment.js
: Moduleaxios/index
does not exist in the Haste module map.Tried the following steps to resolve by referring https://github.com/facebook/react-native/issues/4968
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -rf /tmp/metro-bundler-cache-*
ornpm start -- --reset-cache
.I am still getting the same issue.