小编Cam*_*ega的帖子

fontFamily“Courier”不是系统字体 native-base expo

我正在使用 expo 的本机基本模板expo-template-native-base,启动 iOS 模拟器时出现错误

fontFamily "Courier" is not a system font and has not been loaded through Font.loadAsync.

- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.

- If this is a custom font, be sure to load it with Font.loadAsync.
at node_modules/expo-font/build/Font.js:27:16 in processFontFamily
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:54:4 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:117:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:4 in runApplication
Run Code Online (Sandbox Code Playgroud)

有想法该怎么解决这个吗?

ios react-native native-base expo

5
推荐指数
1
解决办法
1308
查看次数

标签 统计

expo ×1

ios ×1

native-base ×1

react-native ×1