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

UnableToResolveError: Unable to resolve module ActivityIndicator #15256

Closed
ferminmoli opened this issue Jul 28, 2017 · 5 comments
Closed

UnableToResolveError: Unable to resolve module ActivityIndicator #15256

ferminmoli opened this issue Jul 28, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ferminmoli
Copy link

error: bundling: UnableToResolveError: Unable to resolve module ActivityIndicator from C:\Projects\node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module does not exist in the module map or in these directories:
C:\Projects\node_modules\react-native\node_modules
, C:\Projects\node_modules

  1. react-native -v: 0.44.3
  2. node -v: 6.10
  3. npm -v: 3.10.10
  • Target Platform: Android
  • Development Operating System: Windows 10
  • Build tools: Android SDK 23

Step to reproduce:
1 - react-native run-android

NOTE: The following steps did not work for me

  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.
  4. Clone repository from the scratch and install modules again
@ferminmoli
Copy link
Author

Installing yarn fixed my issue! The I ran yarn upgrade

@hramos hramos closed this as completed Jul 28, 2017
@Noitidart
Copy link

I have this problem. I don't want to switch to yarn. I upgrade my npm, but still no go. Any ideas?

@saaksshi
Copy link

saaksshi commented May 28, 2018

I've same kind of problem.

error: bundling failed: Error: Unable to resolve module SegmentedControlIOS from ****/node_modules/react-native/Libraries/react-native/react-native-implementation.js: Module SegmentedControlIOS does not exist in the Haste module map

node - v10.1.0
npm -v6.1.0
react- 16.4.0
react-native - 0.55.4

This happened when I upgraded react-native from .45 to .55.

Edit:-

I tried

  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.
  4. Clone repository from the scratch and install modules again
  5. Yarn also tried (yarn install and upgrade)

Nothing worked.

@cgonzalezp91
Copy link

@saaksshi did you find a solution?
I did the same thinks as you and all of other solutions in every bug tipic that RN have about this problem and anything worked :(

@saaksshi
Copy link

@cgonzalezp91 unfortunately I didn't find any solution and instead of upgrading I preferred creating new project as I literally wasted 1 week over this. but feel free to post solution if you find anything.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 28, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants