错误:无法读取 null 的属性“UIAppFonts" [英] Error: Cannot read property 'UIAppFonts' of null

查看:31
本文介绍了错误:无法读取 null 的属性“UIAppFonts"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 react-native link 时出现这个错误,

When running react-native link it gives this error,

它说,

rnpm-安装错误!链接时似乎出了点问题.错误:无法读取 null 的属性UIAppFonts"

推荐答案

我遇到了同样的问题,时间不长,运行 react-native links 会报错.如果您使用纱线,只需运行:

I had same issue not quite long, running react-native links will give you error. If you are using yarn simply run:

  1. yarn remove react-native
  2. yarn add react-native
  3. 然后运行react-native link

这为我修好了.

这篇关于错误:无法读取 null 的属性“UIAppFonts"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆