每次执行npm install --save react-navigation时,我都会看到一组与react-native-gesture handler相关的警告。我正在使用react-native init Test创建一个全新的应用程序,下一步是安装react-navigation。npm WARN jest-snapshot@24.5.0 requires a peer of jest-haste-map@^24.0.0 but none is installed.在我的代码中导入库并在iOS模拟
directories:\n D:\AwesomeProject\node_modules\n\nThis might be related to https://github.com/facebook/react-nativeDelete the node_modules folder: rm -rf node_modules && npm install.\n 3.Reset packager cache: rm -fr $TMPDIR/react-* or npm st