не удается найти файл записи ни в одной из корневых проблем в примере React Navigation redux

Я получаю эту ошибку в симуляторе 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 здесь: https://github.com/react-community/react-navigation/tree/master/examples/ReduxExample.

Я в основном:

  1. Скачал ZIP для проекта github
  2. Извлек папку примера Redux и скопировал ее в другую область.
  3. запустите «установить npm»
  4. реагирующий родной run-ios

person Greg    schedule 26.04.2017    source источник


Ответы (1)


Вы пробовали так

 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
person Sport    schedule 26.04.2017
comment
да - у меня тоже были некоторые проблемы здесь. Однако я нашел здесь один пример, который я запустил.... github.com /реагировать-сообщество/реагировать-навигация/проблемы/1229 - person Greg; 26.04.2017