You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Expo+React Native环境下,已正确使用NavigationContainer仍报“Couldn't register the navigator”错误求助

Expo+React Native环境下,已正确使用NavigationContainer仍报“Couldn't register the navigator”错误求助

大家好,我现在用**React Native (Expo)**开发一款用来管理临床患者和问诊业务的移动端应用,但每次启动运行app的时候,总会弹出这个错误:

Error: Couldn't register the navigator. Have you wrapped your app with 'NavigationContainer'? This can also happen if there are multiple copies of '@react-navigation' packages installed.

我明明已经按要求用NavigationContainer把应用给包裹起来了,可还是碰到这个问题,有没有懂的小伙伴能帮忙分析下原因呀?

备注:内容来源于stack exchange,提问作者Eliasaf Dias Mello

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 16:19:36