Я получаю эту ошибку в симуляторе 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.
Я в основном:
- Скачал ZIP для проекта github
- Извлек папку примера Redux и скопировал ее в другую область.
- запустите «установить npm»
- реагирующий родной run-ios