簡體   English   中英

React Native調試器無法導入捆綁腳本?

[英]React Native debugger cannot import bundle script?

我剛嘗試在Windows機器上的WebStorm 2016.3中設置react native調試器。 我完全按照他們的博客進行了設置。

但是,當我從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的devtools作為調試器連接,我沒有問題,但在IDE中安裝調試器真的很不錯。

這個錯誤意味着什么?如何讓WebStorm中的react native調試器工作?

我之前使用的是節點7.3.0,我遇到了與WebStorm相同的問題。 現在,我安裝了節點7.3.0的節點6.9.3,問題已經解決了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM