简体   繁体   English

react-native:远程调试器停止工作

[英]react-native: remote debugger stopped working

I always used the debugger with my app and my real device and today out of the blue it stopped working.我总是在我的应用程序和我的真实设备上使用调试器,今天它突然停止工作。 When switching it on I'm getting this error in my terminal:打开它时,我的终端出现此错误:

Error: Unable to resolve module `./debugger-ui/debuggerWorker.cff11639.js` from ``:

None of these files exist:
  * debugger-ui\debuggerWorker.cff11639.js(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx)
  * debugger-ui\debuggerWorker.cff11639.js\index(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx)
    at ModuleResolver.resolveDependency (C:\Presto\Frontend 19-5\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:163:15)
    at ResolutionRequest.resolveDependency (C:\Presto\Frontend 19-5\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:52:18)
    at DependencyGraph.resolveDependency (C:\Presto\Frontend 19-5\node_modules\metro\src\node-haste\DependencyGraph.js:287:16)
    at C:\Presto\Frontend 19-5\node_modules\metro\src\lib\transformHelpers.js:267:42
    at Server.<anonymous> (C:\Presto\Frontend 19-5\node_modules\metro\src\Server.js:841:41)
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (C:\Presto\Frontend 19-5\node_modules\metro\src\Server.js:99:24)
    at _next (C:\Presto\Frontend 19-5\node_modules\metro\src\Server.js:119:9)

After I switch the deubgger on, the app is just stuck and I cannot press anything.打开调试器后,应用程序卡住了,我无法按下任何东西。 Is there something I can do?有什么我可以做的吗? I tried我试过了

gradlew clean

And it didn't help.它没有帮助。 I'm using Android and Windows 10.我正在使用 Android 和 Windows 10。

I have temporary solution.我有临时解决方案。

Solution 1 : Just uninstall already installed app which is your using currently.解决方案 1 :只需卸载您当前使用的已安装应用程序。

Solution 2 : Go to your Settings >> find your app >> Clear data解决方案 2 :Go 到您的设置 >> 找到您的应用 >> 清除数据

The reason is The debugging mode is making the issue sometime.原因是调试模式有时会出现问题。

app crash while turn on remote debugger RN 0.62.0打开远程调试器 RN 0.62.0 时应用程序崩溃

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 react-native应用程序停止在模拟器上工作 - react-native app stopped working on emulator React-native 0.21(android)远程调试器(Chrome)无法连接 - React-native 0.21 (android) remote debugger (Chrome) cannot connect 在Windows中连接到远程调试器时的React-native超时 - React-native Timeout when connecting to remote debugger in windows React-Native build in Visual Studio Code 无法连接远程调试器超时,同时连接到 windows 中的远程调试器 - React-Native build in Visual Studio Code unable to connect with remote debugger timeout while connecting to remote debugger in windows React Native:获取请求不适用于活动的远程调试器(Android) - React Native: Fetch requests are not working with remote debugger active (Android) Android模拟器无法连接到React-Native远程调试器-连接时超时 - Android Emulator cannot connect to React-Native remote debugger - Timeout while connecting 无法在Linux中的react-native(android)中的连接问题上与远程调试器连接流的意外结束 - unable to connect with remote debugger unexpected end of stream on connection issue in react-native(android) in linux React-Native:如何在真正的 iOS 设备上使用“远程 JS 调试器”? - React-Native: how to use “Remote JS Debugger” on real iOS-device? 我怎样才能将firefox设置为React-Native的默认Remote JS Debugger? - How can i set firefox to be my default Remote JS Debugger for React-Native? 如何放入调试器以进行本机命令? - How to drop into the debugger for a react-native command?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM