TypeError: null is not an object evaluating _rngesturehandlerModule.default.direction

TypeError: null is not an object ( evaluating ‘RNGestureHandlerModule.default.Direction’)

在做React Native时遇到这个错误,然后把代码回退到没有此问题的版本,也还是有此问题,比较怪异。通过大局观来看问题应该类似缓存引起的。手机卸载最近装的测试程序,重启,然后就恢复正常了,具体哪一步使得变好了,暂时不清楚。

猜你喜欢

转载自blog.csdn.net/kangear/article/details/117877238