我是本机的新手,并尝试通过在MAC中执行以下命令来安装导航模块:
npm install @react-navigation/native
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
。 来自https://reactnavigation.org/docs/getting-started的文档链接,但不幸被我试图清除的错误所打击,该错误在以下链接中: enter image description here
恳请您清除此问题。
答案 0 :(得分:2)
在您的终端中运行以下命令:cd ios && pod install && cd ..