【问题标题】:Rect Devtools Uncaught ReferenceError: chrome is not definedRect Devtools Uncaught ReferenceError: chrome is not defined
【发布时间】:2020-04-08 22:11:19
【问题描述】:

我正在使用 React Native Debugger(但是当使用 chrome devtools 时,应用程序无论如何都无法运行)。

我从来没有遇到过问题,但今天我得到了

"Uncaught ReferenceError: chrome is not defined"

调试器尝试连接到 React 时出错。尝试卸载 devtools,重新安装应用程序,使用不同的扩展没有任何帮助,我的应用程序加载,我正在获取控制台日志,但无法做任何需要转到另一个屏幕/路线的事情。有什么想法是什么原因造成的?

【问题讨论】:

  • 手机重启有帮助...

标签: react-native react-native-debugger


【解决方案1】:

当其他一切都因愤怒而失败时,我关闭了手机,然后在一段时间后再次打开。

成功了。重启你的手机

【讨论】:

  • 遗憾的是,这不适用于针对 UWP 的 react-native-windows :P
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-12-24
  • 1970-01-01
  • 1970-01-01
  • 2021-12-08
  • 2019-01-22
  • 2019-12-31
相关资源
最近更新 更多