简体   繁体   English

构建React-Native

[英]Build React-Native

I have this problem when trying to install some items尝试安装某些项目时遇到此问题

example:yarn add react-navigation;示例:纱线添加 react-navigation;

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: 

As suggested in error you have to install react-native-vector-icons , which is the dependency of the react-native-paper .正如错误建议的那样,您必须安装react-native-vector-icons ,这是react-native-paper的依赖项。 So go first install react-native-vector-icon and then try to install another package.所以 go 首先安装react-native-vector-icon然后尝试安装另一个 package。 Here is the documentation of how to install react-native-vector-icon.是有关如何安装 react-native-vector-icon 的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM