react-native-es6-reflux icon indicating copy to clipboard operation
react-native-es6-reflux copied to clipboard

Module not found

Open martolini opened this issue 10 years ago • 3 comments

ERROR in ./~/react-native/Libraries/react-native/react-native.js Module not found: Error: Cannot resolve module 'SegmentedControlIOS'

I get this after running npm run-script webpack - why is that?

martolini avatar Jul 15 '15 09:07 martolini

@martolini https://github.com/richardgill/react-native-es6-reflux @richardgill solved this issue with a few commits :)

wenkesj avatar Jul 15 '15 12:07 wenkesj

@wenkesj having experienced this error myself, i tried @richardgill's fork but it doesn't look he's committed anything to that repo ;)

mtford90 avatar Aug 01 '15 09:08 mtford90

I've been using Webpack to build RCT apps for a couple of months and this issue looks almost identical to an issue I had when I used this project to create https://github.com/jhabdas/lumpen-radio.

What I ended up doing was bolting on the build system from another repo to get the build working properly after it started to choke. Check the explanation in the react-native-babel README for clues on why this happens. And try using the code from their ignore-modules.js branch, which is what I used to resolve the issue in my project.

@richardgill Are you familiar with the above approach? If yours is easier to maintain it'd make a welcome PR for this repo I'm sure. :smile_cat:

ghost avatar Aug 18 '15 17:08 ghost