Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Cannot read property 'UIAppFonts' of null

When running react-native link it gives this error,

the error

It says,

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

like image 393
Dinuka Salwathura Avatar asked Jan 23 '17 03:01

Dinuka Salwathura


3 Answers

I had this problem and in my case it was because I had renamed the project but forgotten to update newname in a few folders and files.

like image 198
Bikram Avatar answered Nov 10 '22 13:11

Bikram


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. Then run react-native link

This fixed it for me.

like image 44
Frankrnz Avatar answered Nov 10 '22 15:11

Frankrnz


I had this exact same problem. I had accidentally deleted by Info.plist file in my ios directory. Restoring it, fixed my issue.

like image 3
Matt Avatar answered Nov 10 '22 14:11

Matt