react-native-photo-browser
react-native-photo-browser copied to clipboard
bundling failed: UnableToResolveError: Unable to resolve module `react`
I did npm install
When I try to run react-native run-android
, facing bellow issue
error: bundling failed: UnableToResolveError: Unable to resolve module react
from /Users/user/react-native-photo-browser/lib/index.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:
- Clear watchman watches:
watchman watch-del-all
. - Delete the
node_modules
folder:rm -rf node_modules && npm install
. - Reset Metro Bundler cache:
rm -fr $TMPDIR/react-*
ornpm start -- --reset-cache
.
@dhanababum I get the same error. And then, installed this package in my project and also copy which Example demo into my project. Done that, you will get anther failed, you should have to obey this https://facebook.github.io/react-native/docs/linking-libraries-ios.html#content. That's all, you will run.
@EliteCRM Thanks