React-Native:安装导航模块时出错

问题描述 投票:0回答:1

我是本机的新手,并尝试通过在MAC中执行以下命令来安装导航模块:

  1. npm install @react-navigation/native
  2. 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

请要求您解决此问题。

reactjs react-native react-native-android react-native-ios
1个回答
0
投票
在您的终端中运行以下命令:cd ios && pod install && cd。。
© www.soinside.com 2019 - 2024. All rights reserved.