【发布时间】:2016-12-23 18:47:04
【问题描述】:
我已经用 react-native 构建应用程序几个月了。最近,当我使用 'react-native run-ios' 启动模拟器时,两个 debugger-ui 选项卡同时在 Chrome 浏览器中打开,simulator 在Connection to http://localhost:8081/debugger-proxy?... 上给出错误。
关闭 debugger-ui 的一个选项卡并刷新另一个选项卡,再加上 simulator,可以解决问题,但我想弄清楚发生这种情况的原因并彻底解决。
我认为这与 simulator 而不是 react-native 本身有关。任何想法在哪里寻找解决这个问题以及为什么会发生?
提前致谢。
【问题讨论】:
-
我最近也遇到了这个问题。
-
还是时有发生,还没弄清楚真正的原因。
标签: ios google-chrome debugging react-native ios-simulator