I don't think this issue is limited to this project but I'm receiving following error after npm start:
error: bundling failed: ambiguous resolution: module ../index.js tries to require react-native, but there are several files providing this module. You can delete or fix them:
uname -a: Darwin Afshin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
NPM: v4.1.2
react-native-cli: 2.0.1
react-native: 0.49.5
I have tried npm start -- --reset-cache as well as yarn. It didn't work for me. Any idea why?
I don't think this issue is limited to this project but I'm receiving following error after
npm start
:uname -a: Darwin Afshin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 NPM: v4.1.2 react-native-cli: 2.0.1 react-native: 0.49.5
I have tried
npm start -- --reset-cache
as well asyarn
. It didn't work for me. Any idea why?