“未处理的 JS 异常:TypeError" [英] "Unhandled JS Exception: TypeError"

查看:48
本文介绍了“未处理的 JS 异常:TypeError"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚重置了我的 iPhone 模拟器的设置(通过点击重置内容和设置"),现在我遇到了一个我以前从未遇到过的问题.这是:

I just reset the settings of my IPhone simulator (By hitting 'Reset Content and Settings) and now I'm getting an issue I never had before. Here it is:

我坚持认为该项目在此次重置之前完美运行,但我需要清除应用程序的本地存储.当 poeple 更改 index.ios.js 的位置时,我确实看到了一些帖子,这不是我的情况.

I insist on the fact that the project perfectly worked before this reset, but I needed to clear the local sorage of the app. I did see some posts when poeple changed the location of the index.ios.js which is not my case.

我不知道在哪里搜索...

I don't have any idea where to search ...

这是一个使用 redux 的简单 react-native 项目...请随时问我精度!

This it a simple react-native project using redux... Feel free to ask me precisions !

推荐答案

我通过启动以下命令解决了这个问题:./node_modules/react-native/packager/packager.sh start --resetCache

I fixed this by launching this command: ./node_modules/react-native/packager/packager.sh start --resetCache

在那里找到它https://github.com/facebook/react-native/问题/5747(库里耶夫的回答).

Found it there https://github.com/facebook/react-native/issues/5747 (Kureev's answer).

希望有一天能对某人有所帮助

Hope it helps someone someday

这篇关于“未处理的 JS 异常:TypeError"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆