[英][React Native][Android] Could not connect to development server
[英]Android React native debugging shows unable to connect with remote debugger timeout error
當我嘗試連接調試時,顯示unable to connect with remote debugger : timeout
這是我嘗試使用Chrome訪問的網址
http://localhost:8081/debugger-ui/
在控制台中,我得到的錯誤為:
DeltaDispatcher.js UncaughtSyntax error unexpected token )
if (!this._initialized && !deltaBundle.reset) {
throw new Error(
'DeltaPatcher should receive a fresh Delta when being initialized',
);
有什么解決方法嗎?
遇到此問題后,我刪除了Node Modules文件夾,並再次安裝了npm,一切正常!
如果您使用多個RN應用程序,而只是忘記關閉Chrome調試窗口,請先執行該操作,然后查看。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.