首页 > 解决方案 > 构建 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

解决方案


正如错误建议的那样,您必须react-native-vector-icons安装react-native-paper. 所以先安装react-native-vector-icon,然后尝试安装另一个包。是有关如何安装 react-native-vector-icon 的文档。


推荐阅读