question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rn update from 0.44 to 0.49 error: Unable to resolve module 'uuid' from ..

See original GitHub issue

Is this a bug report?

YES (write your answer here) When I upgrade rn from 0.44.0 to 0.49.3. got error:Unable to resolve module ‘uuid’ from ‘…node_modules/react-native/Libraries/Blob/Blob.js’:Mudule does not exist in the module map

Have you read the Contributing Guidelines?

(Write your answer here.)

Environment

Environment: OS: macOS Sierra 10.12.6 Node: 8.5.0 Yarn: Not Found npm: 4.2.0 Watchman: 4.7.0 Xcode: Xcode 9.0 Build version 9A235 Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed) react: 16.0.0-alpha.6 => 16.0.0-alpha.6 react-native: 0.49.3 => 0.49.3

Steps to Reproduce

(Write your steps here:)

1.Xcode run 2. Simulator show the error 3.

Expected Behavior

(Write what you thought would happen.) Can run correctly.

Actual Behavior

(Write what happened. Add screenshots!)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
pranavdixitcommented, Jan 17, 2018

I am having the same issue and none of the options work Unable to resolve module uuid from /Users/pranav.dixit/react_navtive_projects/AppUpdate/node_modules/react-native/Libraries/Blob/Blob.js: Module does not exist in the module map

This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. 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-*.
3reactions
KaterGorcommented, Nov 7, 2017

Hi! I am experiencing the same issue. When I run npm install, uuid dependency is not found. Using yarn instead of npm is solving this issue. My assumption is that yarn places uuid as a shared dependency at the top of the dependency tree and npm does not do it. If uuid module is used in the blob library, it should b explicitly added to React dependencies.

Environment: OS: macOS Sierra 10.12.6 Node: 8.7.0 Yarn: 1.2.1 npm: 5.5.1 Watchman: 4.9.0 Xcode: Xcode 9.0.1 Build version 9A1004 Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed) react: 16.0.0-alpha.12 => 16.0.0-alpha.12 react-native: 0.48.4 => 0.48.4

Steps to Reproduce

  1. run npm install
  2. react-native run-ios
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't resolve 'uuid/v4' in react-native - Stack Overflow
This error happens because of the file structure in node_modules/uuid, if you look there is no longer a uuidv4 to import and instead...
Read more >
Module not found: Can't resolve 'uuid/v4' - Super User
Install uuid library via node package manager i.e. npm npm install uuid. Then import uuidv4 from uuid library
Read more >
06c205f49492310fa568d0257ba...
0000-Ticket-49830-Import-fails-if-backend-name-is-default.patch ... autofs-5.1.0-make-negative-cache-update-consistent-for-all-lookup-modules.patch ...
Read more >
sqlite - Recently changed and active tickets w/descriptions
I have a loop that performs a query using sqlite3_step(q), inside the loop the data from the resuling row is used to update...
Read more >
The Business Case for Investment in Nutrition - Medela
the cost of malnutrition to their operations and are failing to spot the opportunities ... Companies can upgrade the food environment in which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found