Skip to content

Instantly share code, notes, and snippets.

@silkyland
Last active December 8, 2017 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silkyland/b4385117d49c03f7d4afac5f10b35a73 to your computer and use it in GitHub Desktop.
Save silkyland/b4385117d49c03f7d4afac5f10b35a73 to your computer and use it in GitHub Desktop.
Error: bundling failed: UnableToResolveError: Unable to resolve module ....
error: bundling failed: UnableToResolveError: Unable to resolve module `inspector` from `/Users/.....`: 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 packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment