简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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