![](/img/trans.png)
[英]TypeError: undefined is not an object (evaluating 'this.__reactAutoBindMap')
[英]TypeError: undefined is not an object (evaluating 'ReactCurrentActQueue$1.isBatchingLegacy')
捆绑包./index.js
LOG Running "MyApp" with {"rootTag":1} ERROR TypeError: undefined is not an object (evalating 'ReactCurrentActQueue$1.isBatchingLegacy')
请参考这个线程, https://github.com/facebook/react-native/issues/34079
Raj 的回答有所帮助。 我将 react-native 降级到 0.68.2 版。 摆脱了所有 node_modules。 清除 npm 缓存。 这对我有用
您需要在 packages.json 中同步更新您的“react”依赖版本
例如:
“反应”:“18.0.0”,
“反应原生”:“0.69.3”,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.