2015-08-14 55 views
0

使用反应本地,然后突然收到以下错误的特性“无”:错误:无法读取未定义堆栈

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 

我不知道是什么问题,因为我没有改变任何东西到我的代码并且错误不会引用我写的任何行。我只是在学习反应,所以我对任何新手问题都表示歉意。

回答

0

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

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

相关问题