gpt4 book ai didi

react-native - 错误 : Unable to resolve module `./debugger-ui/debuggerWorker.cff11639.js` from `` :

转载 作者:行者123 更新时间:2023-12-03 14:42:21 26 4
gpt4 key购买 nike

错误:无法解析模块 ./debugger-ui/debuggerWorker.cff11639.js从``:
这些文件都不存在:

 * 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 (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:163:15)
at ResolutionRequest.resolveDependency (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/node-haste/DependencyGraph.js:287:16)
at /Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/lib/transformHelpers.js:267:42
at Server.<anonymous> (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/Server.js:841:41)
at Generator.next (<anonymous>)
at asyncGeneratorStep (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/Server.js:99:24)
at _next (/Users/silent/Documents/CompanyTest/ConnectPlus/node_modules/metro/src/Server.js:119:9)

最佳答案

我也有同样的问题,问题是因为我们使用 chrome 调试器。
当我通过 https://reactnative.dev/docs/debugging我们必须安装“react-devtools”包。一段时间后浏览互联网。我发现它很难使用 chrome 调试器。所以我停止调试并清除cahce

npx react-native start --reset-cache


之后我重新启动应用程序。并且错误消失了。

关于react-native - 错误 : Unable to resolve module `./debugger-ui/debuggerWorker.cff11639.js` from `` :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62283506/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com