React native &引用;在任何根目录中都找不到条目文件;React Navigation redux示例中的问题

React native &引用;在任何根目录中都找不到条目文件;React Navigation redux示例中的问题,react-native,redux,react-redux,react-navigation,React Native,Redux,React Redux,React Navigation,我在IOS模拟器中遇到以下错误: cannot find entry file "examples/ReduxExample/index.js" in any of the root. 在候机楼: Loading dependency graph... React packager ready. Loading dependency graph, done. error: bundling: Error at DependencyGraph._getAbsolutePath (/

我在IOS模拟器中遇到以下错误:

cannot find entry file "examples/ReduxExample/index.js" in any of the root.  
在候机楼:

Loading dependency graph...
React packager ready.

Loading dependency graph, done.
error: bundling: Error
    at DependencyGraph._getAbsolutePath (/Users/greg_work/temp/react_native_temp/ReduxExample/node_modules/react-native/packager/src/node-haste/index.js:285:11)
    at load.then (/Users/greg_work/temp/react_native_temp/ReduxExample/node_modules/react-native/packager/src/node-haste/index.js:228:28)
    at process._tickCallback (internal/process/next_tick.js:109:7)
Bundling `examples/ReduxExample/index.js`  0.0% (0/1), failed.
Launching Dev Tools...
error: bundling: Error
    at DependencyGraph._getAbsolutePath (/Users/greg_work/temp/react_native_temp/ReduxExample/node_modules/react-native/packager/src/node-haste/index.js:285:11)
    at load.then (/Users/greg_work/temp/react_native_temp/ReduxExample/node_modules/react-native/packager/src/node-haste/index.js:228:28)
    at process._tickCallback (internal/process/next_tick.js:109:7)
Bundling `examples/ReduxExample/index.js`  0.0% (0/1), failed.
这是在尝试在此处运行React Navigation redux示例时发生的:

我基本上:

  • 下载了github项目的ZIP文件
  • 提取Redux示例文件夹并将其复制到另一个区域
  • 运行“npm安装”
  • 反应本机运行ios

  • 你试过这样吗

     cd examples/NavigationPlayground or Redux Example
        npm install
        cd ../..
        npm start
    
        # In a seperate terminal tab:
        npm run run-playground-android
        # OR:
        npm run run-playground-ios
    

    是的,我在这里也遇到了一些问题。然而,我在这里发现了一个我开始跑步的例子。。。。