What is the meaning of 'No bundle URL present' in react-native?

前端 未结 30 2368
庸人自扰
庸人自扰 2020-11-30 17:22

When I run a react-native project, I get a error no bundle URL present , but I don\'t know what mistakes I do, I was very confused.

30条回答
  •  情话喂你
    2020-11-30 17:48

    What solved it for me:

    • Open a terminal window
    • cd into YOUR_PROJECT/ios
    • Remove the build folder with rm -r build
    • Run react-native run-ios again

    Alternatively, you could open Finder, navigate to YOUR_PROJECT/ios and delete the build folder.

    Then run react-native run-ios again.

    Source: Andrew Bancroft

提交回复
热议问题