gpt4 book ai didi

android - React Native 调试器无法导入 bundle 脚本?

转载 作者:太空狗 更新时间:2023-10-29 13:54:16 27 4
gpt4 key购买 nike

我刚刚尝试在我的 Windows 机器上的 WebStorm 2016.3 中设置 React Native 调试器。我完全按照他们的 blog 中的设置进行操作.

但是,当我从我的 Android 模拟器启用远程调试时,WebStorm 控制台抛出此错误:

[intellij] [Warning] Couldn't import script at <http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false>.   
Debugging won't work: Try reloading the JS from inside the app, or Reconnect the debugger: Cannot GET /json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2......

如果我连接到 Chrome 的开发工具作为调试器,我没有任何问题,但在 IDE 中有一个调试器真的很棒。

这个错误是什么意思,我怎样才能让 WebStorm 中的 React Native 调试器工作?

最佳答案

我之前用的是node 7.3.0,用WebStorm也有同样的问题。现在,我安装了node 6.9.3而不是node 7.3.0,问题已经解决。

关于android - React Native 调试器无法导入 bundle 脚本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41406743/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com