为什么expo在安装native-base时会报错

问题描述 投票:0回答:1

[当我尝试获取本机版本时,以及运行该应用程序时。它给了我那个错误。我该如何解决。我正在使用expo,并且安装了expo-font。

请帮助!

Screenshot of the error

react-native expo native-base
1个回答
0
投票

看起来像是bug包中的native-base

有一个PR that resolves this issue,但就我撰写此文件而言-它仍未合并。

唯一的解决方法是尝试安装较旧版本的native-base,或者分叉native-base软件包并应用native-base代码the change which fixes the issue

或者,当然,请等待...直到native-base参与者接受PR并发布包含此修复程序的新版本。

© www.soinside.com 2019 - 2024. All rights reserved.