OGeek|极客世界-中国程序员成长平台

标题: ios - (0, _reactNativeCodePush2.default) is not a function 错误在React native [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 02:24
标题: ios - (0, _reactNativeCodePush2.default) is not a function 错误在React native

我正在构建一个 React Native 项目,但在运行时遇到了这个错误。 你能帮我解决这个问题吗?

enter image description here



Best Answer-推荐答案


这发生在我身上是因为我在安装 code-push 后立即运行了 react-native run-ios。事实证明,我需要在我的 ios 目录中运行 pod install,然后清理并重建以使其工作。

关于ios - (0, _reactNativeCodePush2.default) is not a function 错误在React native,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45447580/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4