[英]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.