For me:
# rm -rf node_modules
If that doesn't work,
In terminal, go to react-native/third-party/glog folder inside node_modules
(for me it was cd node_modules/react-native/third-party/glog-0.3.4 )
Once active in this folder,
Glog is configured and the required config.h header file is created for Xcode to find
source share