[英]Not able to connect remote debugger in React native in mac for iOS app?
[英]not able to connect to React native debugger. M getting this error
deltaUrlToBlobUrl.js:30 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
at deltaUrlToBlobUrl (deltaUrlToBlobUrl.js:30)
deltaUrlToBlobUrl @ deltaUrlToBlobUrl.js:30
async function (async)
ws.onmessage @ (index):182
deltaUrlToBlobUrl.js:29 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://localhost:8081/index.delta?platform=android&dev=true&minify=false with MIME type application/javascript. See https://www.chromestatus.com/feature/5629709824032768 for more details.
我在這個答案中找到了一個解決方案,在瀏覽器中更改地址欄方向,指向 localhost:8081(如果您使用不同的東西,請更改端口)。 在我的情況下,我不知道為什么,而不是打開localhost:88081/debugger-ui
而是打開<my-ip-address>:8081/debugger-ui
。 https://stackoverflow.com/a/49365319/2128008
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.