2018-08-04

Invariant Violation: Navigator is deprecated and has been removed from this package. It can now be installed and imported from `react-native-deprecated-custom-components` instead of `react-native`. Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html

Latest stable version is 1.1.x and is published to npm under tag latest. It supports react-native >= 0.48.

解决方案: react-native >= 0.48.后不支持直接在react-native导入了,要在你引用的地方直接写:import {Navigator} from 'react-native-deprecated-custom-components';

你可能感兴趣的:(2018-08-04)