美文网首页iOS开发记录
React Native 的那些错误 0.48.3

React Native 的那些错误 0.48.3

作者: 自然萌_ | 来源:发表于2017-09-30 10:48 被阅读264次

    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
    

    相关文章

      网友评论

        本文标题:React Native 的那些错误 0.48.3

        本文链接:https://www.haomeiwen.com/subject/msegextx.html