unable to resolve module react-native-gesture-handler from

在安装了npm install --save react-navigation后跑项目然后就红屏了。

解决方法

安装触摸方式(需要执行以下方法)

npm install --save react-native-gesture-handler
react-native link react-native-gesture-handler

就可以了

原文地址:https://www.cnblogs.com/qianyy/p/10724712.html