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

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

I encountered this error when working on React Native, and then rolled the code back to a version that didn't have this problem. The problem still occurred, which was weird. From an overall perspective, the problem should be similar to that caused by caching. The phone uninstalled the recently installed test program, restarted, and then returned to normal. It is not clear which step made it better.

Guess you like

Origin blog.csdn.net/kangear/article/details/117877238