HelloRN icon indicating copy to clipboard operation
HelloRN copied to clipboard

react-native start后出现问题

Open eggerle opened this issue 7 years ago • 1 comments

执行 react-native start后出现如下提示 `jest-haste-map: @providesModule naming collision: Duplicate module name: NetInfo Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Network\NetInfo.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Network\NetInfo.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: renderApplication Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\ReactIOS\renderApplication.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\ReactNative\renderApplication.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: Text Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Text\Text.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Text\Text.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: Alert Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Utilities\Alert.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Alert\Alert.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: WebSocket Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\WebSocket\WebSocket.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\WebSocket\WebSocket.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: Vibration Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Vibration\Vibration.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Vibration\Vibration.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: Button Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\Button.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\Button.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: setupDevtools Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Core\Devtools\setupDevtools.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Devtools\setupDevtools.windows.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: Picker Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\Picker\Picker.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\Picker\Picker.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: StatusBar Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\StatusBar\StatusBar.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\StatusBar\StatusBar.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: TextInput Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\TextInput\TextInput.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\TextInput\TextInput.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: NavigationHeaderBackButton Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\CustomComponents\NavigationExperimental\NavigationHeaderBackButton.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\CustomComponents\NavigationExperimental\NavigationHeaderBackButton.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: ActivityIndicator Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\ActivityIndicator\ActivityIndicator.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\ActivityIndicator\ActivityIndicator.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: TextInputState Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\TextInput\TextInputState.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\TextInput\TextInputState.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: ScrollView Paths: H:\WorkSpace\react-native\HelloRN\node_modules\react-native-windows\Libraries\Components\ScrollView\ScrollView.windows.js collides with H:\WorkSpace\react-native\HelloRN\node_modules\react-native\Libraries\Components\ScrollView\ScrollView.js

This warning is caused by a @providesModule declaration with the same name across two different files.` 请问如何解决?

eggerle avatar Nov 07 '17 15:11 eggerle