小编Maj*_*kon的帖子

类型错误:未定义不是对象(评估“NativeUnimoduleProxy.viewManagersNames.includes”)

我将 expo 从 sdk 44 升级到 sdk 45,但出现了 2 个无法解决的错误。

 ERROR  TypeError: undefined is not an object (evaluating 'NativeUnimoduleProxy.viewManagersNames.includes')
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
 * Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
 * A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
Run Code Online (Sandbox Code Playgroud)

知道如何修复它吗?该应用程序是一个托管的世博项目。

react-native expo

7
推荐指数
2
解决办法
3241
查看次数

标签 统计

expo ×1

react-native ×1