Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to reslove module react-native-app-intro #120

Open
sakibrahmanchy opened this issue Apr 12, 2018 · 2 comments
Open

Unable to reslove module react-native-app-intro #120

sakibrahmanchy opened this issue Apr 12, 2018 · 2 comments

Comments

@sakibrahmanchy
Copy link

sakibrahmanchy commented Apr 12, 2018

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?

@exit99
Copy link

exit99 commented May 6, 2018

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)`

@exit99
Copy link

exit99 commented May 6, 2018

Iniitial comments fix does not fix on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants