我正在使用React VR命令行接口版本0.3.0。我通过软件包管理器下载了React-VR。当我在DemoApp文件夹中运行" NPM start"命令时,我会收到此错误:
Loading dependency graph...
React packager ready.
jest-haste-map: @providesModule naming collision:
Duplicate module name: View
Paths: /Users/akh/DemoApp/node_modules/react-vr/Libraries/Components/View/View.vr.js collides with /Users/akh/DemoApp/node_modules/react-native/Libraries/Components/View/View.js
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
Duplicate module name: LayoutPropTypes
Paths: /Users/akh/DemoApp/node_modules/react-vr/Libraries/StyleSheet/LayoutPropTypes.vr.js collides with /Users/akh/DemoApp/node_modules/react-native/Libraries/StyleSheet/LayoutPropTypes.js
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
Duplicate module name: AnimatedImplementation
Paths: /Users/akh/DemoApp/node_modules/react-vr/Libraries/VRReactOverrides/AnimatedImplementation.vr.js collides with /Users/akh/DemoApp/node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
Duplicate module name: NetworkOverlay
Paths: /Users/akh/DemoApp/node_modules/react-vr/Libraries/VRReactOverrides/NetworkOverlay.vr.js collides with /Users/akh/DemoApp/node_modules/react-native/Libraries/Inspector/NetworkOverlay.js
这是一个错误?
尝试卸载,然后重新安装对我有用的" reation-native-native-router-flux"。
npm RM反应 - 新旋律 - 频率;NPM安装 - 保存 反应新旋律 - 频率
回答:https://github.com/aksonov/reaect-native-native-router-flux/issues/1803