【问题标题】:unable to install expo dependencies无法安装 expo 依赖项
【发布时间】:2020-05-26 01:18:22
【问题描述】:

无法安装

expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view

显示以下错误

C:\test\navigator>expo install @react-native-community/masked-view 使用 npm 安装 1 个与 SDK 36.0.0 兼容的原生模块。

npm 安装 npm 错误!代码ENOENT npm 错误!系统调用生成 git npm 错误!路径 git npm 错误!错误号 -4058 npm 错误! enoent 执行时出错: npm 错误! enoent 未定义 ls-remote -h -t https://github.com/naver/hammer.js.git npm 错误!恩恩 npm 错误!恩恩 npm 错误! enoent 生成 git ENOENT npm 错误! enoent 这与 npm 找不到文件有关。 npm 错误!恩恩特

请解决

【问题讨论】:

    标签: reactjs navigation


    【解决方案1】:

    安装 1.5.3 版。它应该工作。似乎已发布损坏的补丁。运行npm install --save react-native-gesture-handler@1.5.3

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-07-20
      • 2021-08-08
      • 2016-02-06
      • 1970-01-01
      • 2021-05-29
      • 2018-09-11
      • 2018-05-30
      • 1970-01-01
      相关资源
      最近更新 更多