我收到了这个错误:
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: PickerAndroid
Paths: /Users/David/Documents/mobile/node_modules/react-native/Libraries/Utilities/differ/matricesDiffer.js collides with /Users/David/Documents/mobile/node_modules/react-native/Libraries/Utilities/differ/pointsDiffer.js
This error is caused by a @providesModule declaration with the same name accross two different files.
Error: @providesModule naming collision:
Duplicate module name: PickerAndroid
Paths: /Users/David/Documents/mobile/node_modules/react-native/Libraries/Utilities/differ/matricesDiffer.js collides with /Users/David/Documents/mobile/node_modules/react-native/Libraries/Utilities/differ/pointsDiffer.js
This error is caused by a @providesModule declaration with the same name accross two different files.
at HasteMap._updateHasteMap (/Users/David/Documents/mobile/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:162:15)
at /Users/David/Documents/mobile/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:127:25
我试过rm -rf node_modules&& npm install,watchman watch-del-all,react-native start - --reset-all ...没有帮助