How To Fix Unable to resolve module `@babel/runtime/helpers/interopRequireDefault

How to Fix It On React Native :

"Unable to resolve module `@babel/runtime/helpers/interopRequireDefault` from `/opt/lampp/htdocs/nodejs/react_app/myApp/index.js`: Module `@babel/runtime/helpers/interopRequireDefault` does not exist in the Haste module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n  1. Clear watchman watches: `watchman watch-del-all`.\n  2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.\n  3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`.\n  4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`."

Try It

npm install @babel/runtime

Subscribe to receive free email updates: