2017-04-19 27 views
2

我正在使用React VR命令行界面版本0.3.0。我通過軟件包管理器下載了react-vr。當我在DemoApp文件夾中運行「npm start」命令時,出現此錯誤:React VR「jest-haste-map:@providesModule命名衝突」

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 

這是一個錯誤嗎?

+0

的陣營VR隊似乎也意識到這個問題,並已承諾在即將發佈的修復程序,請參見本Github上的問題https://github.com/facebook/反應-VR /問題/ 76。 – Valentin

回答