Reputation: 34798
I am getting this error in the IOS simulator:
cannot find entry file "examples/ReduxExample/index.js" in any of the root.
And in the terminal:
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.
This is when trying to run the React Navigation redux example here: https://github.com/react-community/react-navigation/tree/master/examples/ReduxExample.
I basically:
Upvotes: 1
Views: 675
Reputation: 8945
Have you tried like this
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
Upvotes: 1