gpt4 book ai didi

node.js - React-native Undefined 不是一个对象(评估 'RNI18n.locale' )

转载 作者:太空宇宙 更新时间:2023-11-04 03:06:32 25 4
gpt4 key购买 nike

在每个react-native项目中,我尝试构建(从启动套件到空项目)RNI18n错误。

以下任何 rht 都不起作用

  • 我在控制台中没有收到任何错误。
  • 我尝试过使用新的(未修改的)react-starter 存储库
  • 我卸载了(然后重新安装)React Native(通过 npm)
  • 我也在他们的存储库上发布了但没有答案
  • 我尝试从 cmd“react-native run-ios”和 .xcodeproj 文件运行

我使用的是 OSX。非 react 应用程序工作正常。

错误:

2016-09-06 21:48:56.897 [warn][tid:main][RCTEventEmitter.m:54] Sending `websocketFailed` with no listeners registered.
2016-09-06 21:48:56.991 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'RNI18n.locale')
2016-09-06 21:48:56.994 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'RNI18n.locale')
2016-09-06 21:48:57.008 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: The stack is null
2016-09-06 21:48:57.064 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module.
2016-09-06 21:48:57.066 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module.
2016-09-06 21:48:57.072 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: The stack is null

enter image description here

最佳答案

我的电脑需要重新启动。这可能是当前(最新)版本(0.39)中的错误

关于node.js - React-native Undefined 不是一个对象(评估 'RNI18n.locale' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39342002/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com