How To Fix Unable to resolve module `@babel/runtime/helpers/interopRequireDefault
Sunday, 30 September 2018
Add Comment
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
0 Response to "How To Fix Unable to resolve module `@babel/runtime/helpers/interopRequireDefault"
Post a Comment