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
相关产品推荐
相关产品推荐

