React Native 0.48.3 每日一坑(2)
报错
1:'boost/config/user.hpp' file not found
2:Run custom shell script 'install Third Party'
上面两个报错都是以为./node_modules/react-native/third-party
下的文件没有被完整下载
解决办法:手动下载以下文件,解压缩放入./node_modules/react-native/third-party中
https://github.com/google/glog/archive/v0.3.4.tar.gz
https://github.com/google/double-conversion/archive/v1.1.5.tar.gz
https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz
https://github.com/google/glog/archive/v0.3.4.tar.gz
third-party: 'config.h' file not found
解决方法
$ cd ./node_modules/react-native/third-party/glog
$ ./configure
$ make
$ make install
网友评论