首页 文章

入门项目中存在React-native no bundle URL

提问于
浏览
0

我试图在反应原生的官方网站上的入门指南(https://facebook.github.io/react-native/docs/getting-started.html)之后通过"react-native run-ios"在Iphone模拟器上运行react-native,一切似乎都很好,新终端弹出说"loading dependency graph, done." . 该应用程序开始需要很长时间才能加载然后它会显示"No bundle URL present" .

这不是这个入门项目的独特之处 . 我试图克隆具有相同结果的其他反应原生项目

What can cause this to fail on both the getting started projects as well as other projects?

1 回答

  • 1

    我通过删除构建解决了这个问题:1 . YOUR_PROJECT / ios / build /,然后我通过更改端口再次运行项目:2 . react-native run-ios --port 8080

相关问题