不变违规:TurboModuleRegistry.getEnforcing(...): 找不到“RNGestureHandlerModule”。通过以下方式验证模块 该名称在本机二进制文件中注册。Bridgeless 模式:true。 TurboModule 互操作:true。加载的模块: {"NativeModules":[],"TurboModules":["PlatformConstants","LogBox","SourceCode","AppState","BlobModule","WebSocketModule","DevSettings","DevToolsSettingsManager","网络","外观","DevLoadingView","DeviceInfo","ImageLoader","SoundManager","IntentAndroid","DeviceEventManager","NativeAnimatedModule","I18nManager"],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx"," RedBox","BugReporting","HeadlessJsTaskSupport","LinkingManager","NativeReactNativeFeatureFlagsCxx","RNCSafeAreaContext","ReanimatedModule","RNGestureHandlerModule"]}
我想知道这个问题的根本原因,在调试时我发现提到的所有这些模块都是空的。 是什么导致了这些类型的问题,检查了很多问题,但没有人给出这些问题的根本原因。
“NotFound”:[“NativePerformanceCxx”,“NativePerformanceObserverCxx”,“RedBox”,“BugReporting”,“HeadlessJsTaskSupport”,“LinkingManager”,“NativeReactNativeFeatureFlagsCxx”,“RNCSafeAreaContext”,“ReanimatedModule”,“RNGestureHandlerModule”]}
-> https://github.com/software-mansion/react-native-gesture-handler/issues/2847 -> https://github.com/software-mansion/react-native-gesture-handler/issues/2749
反应本机:0.74.3反应本机手势处理程序:“2.17.1”,
尝试将react-native-gesture-handler降级到版本2.15.0。
这个问题似乎只影响少数人,所以我想这是一个包依赖问题/本地设置问题。
这里有一个活跃的问题https://github.com/software-mansion/react-native-gesture-handler/issues/2847,所以希望它能很快得到解决。