【问题标题】:Getting error when trying to install react navigation尝试安装反应导航时出错 【发布时间】:2021-05-27 05:42:45 【问题描述】: This is what I am getting when running the installation command in my command prompt 【问题讨论】: 标签: react-native react-navigation-v5 【解决方案1】: 这个错误可能是因为你没有安装 react-navigation。你可以试试: npm start -- --reset-cache npm install react-navigation 希望对你有用。 【讨论】: 这实际上是在我尝试安装 react-navigation 时发生的