Nativescript 5.4.0 build fails with “couldn't find sbg-bindings.txt”

前端 未结 1 1148
孤城傲影
孤城傲影 2020-12-21 20:15

Nativescript released 5.4.0 where hmr is enabled by default. After upgrade to 5.4.0, my nativescript cloud build as well as local build started breaking with following error

相关标签:
1条回答
  • 2020-12-21 20:48

    The solution was the following:

    From the project root run

    ./node_modules/.bin/update-ns-webpack --deps --configs
    

    This updates package.json and node_modules.

    Then I removed the following folders.

    node_modules, platform, hooks
    

    And do a clean run

    tns run android
    
    0 讨论(0)
提交回复
热议问题