简体   繁体   English

React Native调试器无法导入捆绑脚本?

[英]React Native debugger cannot import bundle script?

I've just tried setting up the react native debugger in WebStorm 2016.3 on my Windows machine. 我刚尝试在Windows机器上的WebStorm 2016.3中设置react native调试器。 I followed the setup exactly from their blog . 我完全按照他们的博客进行了设置。

However, when I enable remote debugging from my Android simulator, the WebStorm console throws this error: 但是,当我从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......

I have no issues if I were connecting to Chrome's devtools as debugger, but it will really be nice to have a debugger within an IDE. 如果我将Chrome的devtools作为调试器连接,我没有问题,但在IDE中安装调试器真的很不错。

What does this error mean and how can I get the react native debugger in WebStorm to work? 这个错误意味着什么?如何让WebStorm中的react native调试器工作?

I use node 7.3.0 before and I had the same problem with WebStorm. 我之前使用的是节点7.3.0,我遇到了与WebStorm相同的问题。 Now, I install node 6.9.3 insted of node 7.3.0,and the problem had been sovled. 现在,我安装了节点7.3.0的节点6.9.3,问题已经解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM