react-native - 构建 React-Native
问题描述
尝试安装某些项目时遇到此问题
示例:纱线添加反应导航;
warning " > react-native-paper@3.10.1" has unmet peer dependency "react-native-vector-
icons@*".
[5/5] Building fresh packages...
[-/9] ⠈ waiting...
[6/9] ⠈ lib-jitsi-meet
[7/9] ⠁ node-sass
[8/9] ⠁ ejs
error /node_modules/lib-jitsi-meet: Command failed.
Exit code: 127
Command: webpack -p
Arguments:
解决方案
正如错误建议的那样,您必须react-native-vector-icons
安装react-native-paper
. 所以先安装react-native-vector-icon
,然后尝试安装另一个包。这是有关如何安装 react-native-vector-icon 的文档。
推荐阅读
- python - 如何将一列数据框或单行数据框作为数据框或系列返回?
- python - 在 netcdf 中选择特定变量点时 xarray 中的广播错误
- active-directory - VB6粘贴问题
- asp.net - ASP.NET 登录中的 SQL Server 身份验证
- typescript - 如何纠正被推断为未知的咖喱函数的函数参数的参数的类型推断?
- python - Python添加具有唯一ID的新行
- ios - 通过推送通知唤醒后台 IOS 应用程序并使用核心蓝牙与另一个 ios 设备交换数据
- mongodb - 为什么我不能更新存储在 mongodb 中的会话文档?
- swift - 从 ObjC 访问函数到 Swift 包的正确语法是什么?
- javascript - Puppeteer Select 方法忽略禁用的属性