After downloading, running npm install, and then npm start, I got the following error:
$ npm start
> FluxExample@0.0.1 start /Users/rettig/wip/React-Native-example-FLUX-starter-kit-for-ios
> node_modules/react-native/packager/packager.sh
Could not find dependencies.
Ensure dependencies are installed - run 'npm install' from project root.
Upgrading to react-native@0.13.2, removing node_modules, and running npm install again solved this problem, but now when I run npm start I see:
$ npm start
> FluxExample@0.0.1 start /Users/rettig/wip/React-Native-example-FLUX-starter-kit-for-ios
> node_modules/react-native/packager/packager.sh
┌────────────────────────────────────────────────────────────────────────────┐
│ Running packager on port 8081. │
│ │
│ Keep this packager running while developing on any JS projects. Feel │
│ free to close this tab and run your own packager instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/rettig/wip/React-Native-example-FLUX-starter-kit-for-ios
[10:55:17] <START> Building Dependency Graph
[10:55:17] <START> Crawling File System
[10:55:17] <START> Loading bundles layout
[10:55:17] <END> Loading bundles layout (0ms)
React packager ready.
[10:55:18] <END> Crawling File System (890ms)
[10:55:18] <START> Building in-memory fs for JavaScript
[10:55:18] <END> Building in-memory fs for JavaScript (285ms)
[10:55:18] <START> Building in-memory fs for Assets
[10:55:19] <END> Building in-memory fs for Assets (227ms)
[10:55:19] <START> Building Haste Map
[10:55:19] <START> Building (deprecated) Asset Map
[10:55:19] <END> Building (deprecated) Asset Map (109ms)
[10:55:21] <END> Building Haste Map (1951ms)
[10:55:21] <END> Building Dependency Graph (3355ms)
Rebuilding haste map to recover from error
Rebuilding haste map to recover from error
Rebuilding haste map to recover from error
...
Finally, when trying to compile in iOS, I get the following error:
React-Native-example-FLUX-starter-kit-for-ios/iOS/AppDelegate.m:39:48: No visible @interface for 'RCTRootView' declares the selector 'initWithBundleURL:moduleName:launchOptions:'
Hi
Thanks for putting together this awesome example!
After downloading, running
npm install
, and thennpm start
, I got the following error:Upgrading to react-native@0.13.2, removing node_modules, and running
npm install
again solved this problem, but now when I runnpm start
I see:Finally, when trying to compile in iOS, I get the following error:
React-Native-example-FLUX-starter-kit-for-ios/iOS/AppDelegate.m:39:48: No visible @interface for 'RCTRootView' declares the selector 'initWithBundleURL:moduleName:launchOptions:'