React-native no bundle URL 出现在入门项目中
React-native no bundle URL present on getting started project
我正在按照入门指南 (https://facebook.github.io/react-native/docs/getting-started.html) 通过 "react-native run-ios" 在 Iphone 模拟器上尝试 运行 react-native
在 react-native 的官方网站上,一切似乎都很好,新终端弹出 "loading dependency graph, done."。该应用程序开始需要很长时间才能加载,然后显示 "No bundle URL present"。
这不是这个入门项目所特有的。我尝试克隆其他具有相同结果的 React Native 项目
什么会导致入门项目和其他项目都失败?
我通过删除构建解决了这个问题:
1. YOUR_PROJECT/ios/build/,
然后我通过更改端口再次 运行 项目:
2. react-native 运行-ios --port 8080
我正在按照入门指南 (https://facebook.github.io/react-native/docs/getting-started.html) 通过 "react-native run-ios" 在 Iphone 模拟器上尝试 运行 react-native 在 react-native 的官方网站上,一切似乎都很好,新终端弹出 "loading dependency graph, done."。该应用程序开始需要很长时间才能加载,然后显示 "No bundle URL present"。
这不是这个入门项目所特有的。我尝试克隆其他具有相同结果的 React Native 项目
什么会导致入门项目和其他项目都失败?
我通过删除构建解决了这个问题: 1. YOUR_PROJECT/ios/build/, 然后我通过更改端口再次 运行 项目: 2. react-native 运行-ios --port 8080