菜鸟教程小白 发表于 2022-12-13 14:25:55

ios - "Unhandled JS Exception: TypeError"


                                            <p><p>我刚刚重置了我的 iPhone 模拟器的设置(通过点击“重置内容和设置”),现在我遇到了以前从未遇到过的问题。这里是:</p>

<p> <a href="/image/qCwC8.png" rel="noreferrer noopener nofollow"><img src="/image/qCwC8.png" alt="enter image description here"/></a> </p>

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

<p>我不知道在哪里搜索...</p>

<p>这是一个使用 redux 的简单 react-native 项目...随时问我精度!</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>我通过启动以下命令解决了这个问题:<code>./node_modules/react-native/packager/packager.sh start --resetCache</code></p>

<p>在那里找到它<a href="https://github.com/facebook/react-native/issues/5747" rel="noreferrer noopener nofollow">https://github.com/facebook/react-native/issues/5747</a> (Kureev 的回答)。</p>

<p>希望有一天能对某人有所帮助</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - &#34;Unhandled JS Exception: TypeError&#34;,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/40681839/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/40681839/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - &#34;Unhandled JS Exception: TypeError&#34;