ReactNative 新建项目 Xcode 运行出错
'config.h' file not found
cd node_modules/react-native/third-party/glog-0.3.4
注意glog-0.3.4 可能是glog-0.3.5
./configure
cannot run C compiled programs.
uname -m
./configure --host=x86_64
Build input file cannot be found: '/Users/liepin/Desktop/XXX/node_modules/react-native/Libraries/WebSocket/libfishhook.a'
image.png删除重新添加
Module @babel/runtime/helpers/interopRequireDefault
image.pngnpm add @babel/runtime
关闭服务,再次运行
网友评论