react-native - react-native 生产 undefined 不是函数错误
问题描述
我开发了一个应用程序,并将其发布到 Google Play。过了一会儿,我开始获取生产错误报告,其中包含以下错误:
TypeError: s.generateNewNodeTag is not a function. (In 's.generateNewNodeTag()', 's.generateNewNodeTag' is an instance of Object)
和
Fatal Exception: com.facebook.react.common.JavascriptException: TypeError: TypeError: c.API.disconnectAnimatedNodes is not a function. (In 'c.API.disconnectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag())', 'c.API.disconnectAnimatedNodes' is an instance of Object)
看起来所有错误都来自 react-native 的核心,但我实际上无法理解为什么会发生这种错误。此错误来自极少数用户,我无法在本地重现它们。
RN 版本为 0.59.9
解决方案
推荐阅读
- php - php解析错误与意外';' 在第 12 行,但没有错
- javascript - 如何在 C# 的类库中运行 npm 命令
- vue.js - vuex 模块无法将元素添加到根状态
- ios - 从相机捕获图像时内存泄漏
- android - Android 库模块的消费者必须添加类路径依赖项
- java - 使用 XML 配置进行 DAO 调用的 Spring 重试
- html - 孩子的背景颜色覆盖了父母的背景图片
- sql - 我需要计算每件商品的日销售额、MTD 和 YTD 销售额
- android - Play 商店 - 个人资料已注册 Beta 测试,但应用页面未显示“Beta 测试员”
- lua - dzVents - 保存“颜色”对象并重复使用