【问题标题】:Error: Cannot read property 'None' of undefined stack错误:无法读取未定义堆栈的属性“无”
【发布时间】:2015-08-14 21:46:48
【问题描述】:

使用react native然后突然收到如下错误:

Error: Cannot read property 'None' of undefined
 stack: 
  <unknown>  index.ios.bundle:24759
  require    index.ios.bundle:254
  <unknown>  index.ios.bundle:23809
  require    index.ios.bundle:254
  <unknown>  index.ios.bundle:1508
  require    index.ios.bundle:254
  <unknown>  index.ios.bundle:1435
  require    index.ios.bundle:254
  require    index.ios.bundle:200
  <unknown>  index.ios.bundle:59178
 URL: undefined
 line: undefined
 message: Cannot read property 'None' of undefinedhandleException @ ExceptionsManager.js:69handleErrorWithRedBox @ InitializeJavaScriptAppEngine.js:38ErrorUtils.reportFatalError @ error-guard.js:28require @ require.js:197(anonymous function) @ RunMainModule.js:1

我不确定问题出在哪里,因为我没有对我的代码进行任何更改,并且错误没有引用我编写的任何行。我只是在学习反应,所以我对任何新手问题表示歉意。

【问题讨论】:

    标签: javascript xcode react-native


    【解决方案1】:

    在我使用了一个名为 react-native-looped-carousel 的 npm 包后,我遇到了同样的错误,删除它后,它又可以正常工作了。

    您可以尝试删除一些最近安装的软件包,我认为这可能会导致此错误。

    【讨论】:

      猜你喜欢
      • 2017-11-05
      • 1970-01-01
      • 1970-01-01
      • 2020-10-15
      • 2015-08-05
      • 2017-08-12
      • 2022-07-06
      • 2021-12-31
      相关资源
      最近更新 更多