Module not found
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 https://github.com/richardgill/react-native-es6-reflux @richardgill solved this issue with a few commits :)
@wenkesj having experienced this error myself, i tried @richardgill's fork but it doesn't look he's committed anything to that repo ;)
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: