React-native: Unable to resolve module SegmentedControlIOS

Created on 18 Oct 2017  路  4Comments  路  Source: facebook/react-native

Is this a bug report?

I've upgraded to 0.49.3 following react-native-git-upgrade. My project builds fine but I'm getting following error

screen shot 2017-10-18 at 9 52 21 am

I've followed all the steps to clean cache, remove node_modules but no luck.

Environment

Environment:
OS: macOS High Sierra 10.13
Node: 7.5.0
Yarn: 1.2.1
npm: 4.1.2
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.2 AI-145.3537739

Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.3 => 0.49.3

Target Platform: iOS (11)

Stale

All 4 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

Im also getting this error but ok.

solution: rm -rf /tmp/metro-bundler-cache-*

@nicoara I ran this script I have to clear all my caches.
$ echo 'Delete Watchman' && watchman watch-del-all && echo 'Clear RN packager cache' && rm -rf $TMPDIR/react-native-packager-cache-* && echo 'Clear Metro cache' && rm -rf $TMPDIR/metro-bundler-cache-* && echo 'Clear Haste Map cache' && rm -rf $TMPDIR/haste-map-react-native-packager-*
I get the same error. So your solution isn't a one-size-fits-all unfortunately.

Was this page helpful?
0 / 5 - 0 ratings