Реагируйте на виртуальную реальность "jest-haste-map: @providesModule naming collision"

Я использую React VR Интерфейс командной строки версии 0.3.0. Я скачал response-vr через менеджер пакетов. Когда я запускаю команду "npm start" в моей папке DemoApp, я получаю эту ошибку:

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

Это ошибка?

1 ответ

Попробуйте удалить, а затем переустановить "Reaction-native-router-flux", который работал для меня.

npm rm response-native-router-flux; npm install --save response-native-router-flux

Ответили: https://github.com/aksonov/react-native-router-flux/issues/1803

Другие вопросы по тегам