错误:无法读取null的属性"UIAppFonts"

Din*_*ura 7 reactjs react-native

运行react-native link时会出现此错误,

错误

它说,

rnpm-install ERR! It seems something went wrong while linking. Error: Cannot read property 'UIAppFonts' of null

小智 2

我有同样的问题不久,运行react-native links会给你错误。如果您使用的是纱线,只需运行:

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

这为我解决了这个问题。