Open sakibrahmanchy opened 6 years ago
I have the same issue
error: bundling failed: Error: While trying to resolve module `react-native-app-intro` from file `/Users/zachk/WebstormProjects/unitedcoin/App/Containers/IntroScreen.js`, the package `/Users/zachk/WebstormProjects/unitedcoin/node_modules/react-native-app-intro/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/zachk/WebstormProjects/unitedcoin/node_modules/react-native-app-intro/AppIntro.js`. Indeed, none of these files exist:
* `/Users/zachk/WebstormProjects/unitedcoin/node_modules/react-native-app-intro/AppIntro.js(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json)`
* `/Users/zachk/WebstormProjects/unitedcoin/node_modules/react-native-app-intro/AppIntro.js/index(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json)`
Iniitial comments fix does not fix on my machine.
Each time I add a new library to my project I always get the error, "Unable to reslove module react-native-app-intro", I have to delete the node_modules folder and run 'npm install' command to fix the problem. Pretty painful. Is it a bug?