I've installed the react-navigation module inside the project's folder:
~/react-tutorial/react-native/Project1$ npm install --save react-navigation
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- [email protected] added 22 packages from 10 contributors and audited 103279 packages in 43.188s found 11 low severity vulnerabilities run
npm audit fixto fix them, ornpm auditfor details
But when I try to include StackNavigator in the Component with import { StackNavigator } from 'react-navigation';
I've got the following error in the browser when debugging remotely
TypeError: bundle.modules is undefined