You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundling failed: Error: Unable to resolve module util from /home/omars/react-native-projects/react-native-firebase-starter/node_modules/multiparty/index.js: Module does not exist in the module map
Delete the node_modules folder: rm -rf node_modules && npm install.
Reset Metro Bundler cache: rm -rf $TMPDIR/react-* or npm start -- --reset-cache. 4. Remove haste cache: rm -rf $TMPDIR/haste-map-react-native-packager-*.
at UnableToResolveError (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:772:5)
at ModuleResolver.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:311:1719)
at ResolutionRequest.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:96:16)
at DependencyGraph.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph.js:269:4352)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:201:36
at next (native)
at step (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:306)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:536
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:217
at addDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:92)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:237:9
The text was updated successfully, but these errors were encountered:
I solved it by going back in my commits , i had an error that was import form from multiparty and not from native base and that was caused from auto import script
Thanks for offering to view my code, I have however fixed the issue by updating all dependencies. My issue was caused by a problem in one of the versions of a dependency I was using, the author of which has now rolled back that change.
bundling failed: Error: Unable to resolve module
util
from/home/omars/react-native-projects/react-native-firebase-starter/node_modules/multiparty/index.js
: Module does not exist in the module mapThis might be related to facebook/react-native#4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -rf $TMPDIR/react-*
ornpm start -- --reset-cache
. 4. Remove haste cache:rm -rf $TMPDIR/haste-map-react-native-packager-*
.at UnableToResolveError (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:772:5)
at ModuleResolver.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:311:1719)
at ResolutionRequest.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:96:16)
at DependencyGraph.resolveDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/node-haste/DependencyGraph.js:269:4352)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:201:36
at next (native)
at step (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:306)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:536
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:217
at addDependency (/home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:92)
at /home/omars/react-native-projects/react-native-firebase-starter/node_modules/metro/src/DeltaBundler/traverseDependencies.js:237:9
The text was updated successfully, but these errors were encountered: