Error: Unable to read the "UIAppFonts" property with a null value

When starting, it react-native linkgives this error,

the error

It says,

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

+6
source share
3 answers

I had the same problem. I accidentally deleted a file Info.plistin my ios directory. Having restored it, I fixed my problem.

+3
source

In case someone encounters this, here is how I fixed the reactive binding problem using UIAppFonts:

# Regenerates ios files
react-native upgrade

# Works now
react-native link

In fact, this is very similar to the answer Matt publishes above, except that I did not know how to recover it.

+1
source

, react-native links . , :

  1. yarn remove react-native
  2. yarn add react-native
  3. react-native link

.

0
source

Source: https://habr.com/ru/post/1667517/


All Articles