Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. I followed the setup exactly from their blog.

However, when I enable remote debugging from my Android simulator, the WebStorm console throws this error:

[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.

What does this error mean and how can I get the react native debugger in WebStorm to work?

like image 220
Carven Avatar asked Feb 11 '26 22:02

Carven


1 Answers

I use node 7.3.0 before and I had the same problem with WebStorm. Now, I install node 6.9.3 insted of node 7.3.0,and the problem had been sovled.

like image 171
Yang Avatar answered Feb 14 '26 15:02

Yang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!