vue.js await 报错

博客提及了ErrorCode报错,给出了报错代码,并阐述了解决方法,与信息技术相关,聚焦于错误处理。

ErrorCode:
在这里插入图片描述
报错代码:
在这里插入图片描述

解决方法:
在这里插入图片描述

引用了import { UniversalProvider } from '@walletconnect/universal-provider'; import { WalletConnectModal } from '@walletconnect/modal';这两条代码,报错:test1.vue:3 GET http://localhost:5173/unpackage/dist/cache/.vite/deps/@walletconnect_universal-provider.js?t=1757990241347&v=fa29221d net::ERR_ABORTED 504 (Outdated Optimize Dep) main.js:38 [Vue warn]: Unhandled error during execution of async component loader at <AsyncComponentWrapper> at <PageBody> at <Page> at <Anonymous> at <KeepAlive> at <RouterView> at <Layout> at <App> warnHandler @ uni-h5.es.js:16350 callWithErrorHandling @ vue.runtime.esm.js:1381 warn$1 @ vue.runtime.esm.js:1207 logError @ vue.runtime.esm.js:1438 errorHandler @ uni-h5.es.js:16149 callWithErrorHandling @ vue.runtime.esm.js:1381 handleError @ vue.runtime.esm.js:1421 onError @ vue.runtime.esm.js:3724 (anonymous) @ vue.runtime.esm.js:3767 Promise.catch setup @ vue.runtime.esm.js:3766 callWithErrorHandling @ vue.runtime.esm.js:1381 setupStatefulComponent @ vue.runtime.esm.js:8941 setupComponent @ vue.runtime.esm.js:8902 mountComponent @ vue.runtime.esm.js:7218 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7409 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 updateComponent @ vue.runtime.esm.js:7261 processComponent @ vue.runtime.esm.js:7195 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7409 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 callWithErrorHandling @ vue.runtime.esm.js:1381 flushJobs @ vue.runtime.esm.js:1585 Promise.then queueFlush @ vue.runtime.esm.js:1494 queueJob @ vue.runtime.esm.js:1488 scheduler @ vue.runtime.esm.js:3179 resetScheduling @ vue.runtime.esm.js:236 triggerEffects @ vue.runtime.esm.js:280 triggerRefValue @ vue.runtime.esm.js:1033 set value @ vue.runtime.esm.js:1078 finalizeNavigation @ vue-router.mjs?v=016578d9:2392 (anonymous) @ vue-router.mjs?v=016578d9:2302 Promise.then pushWithRedirect @ vue-router.mjs?v=016578d9:2270 push @ vue-router.mjs?v=016578d9:2196 install @ vue-router.mjs?v=016578d9:2548 use @ vue.runtime.esm.js:5146 initRouter @ uni-h5.es.js:16261 install @ uni-h5.es.js:16330 use @ vue.runtime.esm.js:5146 (anonymous) @ main.js:38 main.js:38 TypeError: Failed to fetch dynamically imported module: http://localhost:5173/pages/index/test1.vue?t=1757990487294 logError @ vue.runtime.esm.js:1443 errorHandler @ uni-h5.es.js:16149 callWithErrorHandling @ vue.runtime.esm.js:1381 handleError @ vue.runtime.esm.js:1421 onError @ vue.runtime.esm.js:3724 (anonymous) @ vue.runtime.esm.js:3767 Promise.catch setup @ vue.runtime.esm.js:3766 callWithErrorHandling @ vue.runtime.esm.js:1381 setupStatefulComponent @ vue.runtime.esm.js:8941 setupComponent @ vue.runtime.esm.js:8902 mountComponent @ vue.runtime.esm.js:7218 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 mountChildren @ vue.runtime.esm.js:6898 processFragment @ vue.runtime.esm.js:7114 patch @ vue.runtime.esm.js:6624 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 mountChildren @ vue.runtime.esm.js:6898 mountElement @ vue.runtime.esm.js:6805 processElement @ vue.runtime.esm.js:6770 patch @ vue.runtime.esm.js:6638 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7328 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 setupRenderEffect @ vue.runtime.esm.js:7463 mountComponent @ vue.runtime.esm.js:7230 processComponent @ vue.runtime.esm.js:7184 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7409 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 updateComponent @ vue.runtime.esm.js:7261 processComponent @ vue.runtime.esm.js:7195 patch @ vue.runtime.esm.js:6650 componentUpdateFn @ vue.runtime.esm.js:7409 run @ vue.runtime.esm.js:153 instance.update @ vue.runtime.esm.js:7453 callWithErrorHandling @ vue.runtime.esm.js:1381 flushJobs @ vue.runtime.esm.js:1585 Promise.then queueFlush @ vue.runtime.esm.js:1494 queueJob @ vue.runtime.esm.js:1488 scheduler @ vue.runtime.esm.js:3179 resetScheduling @ vue.runtime.esm.js:236 triggerEffects @ vue.runtime.esm.js:280 triggerRefValue @ vue.runtime.esm.js:1033 set value @ vue.runtime.esm.js:1078 finalizeNavigation @ vue-router.mjs?v=016578d9:2392 (anonymous) @ vue-router.mjs?v=016578d9:2302 Promise.then pushWithRedirect @ vue-router.mjs?v=016578d9:2270 push @ vue-router.mjs?v=016578d9:2196 install @ vue-router.mjs?v=016578d9:2548 use @ vue.runtime.esm.js:5146 initRouter @ uni-h5.es.js:16261 install @ uni-h5.es.js:16330 use @ vue.runtime.esm.js:5146 (anonymous) @ main.js:38 test1.vue:4 GET http://localhost:5173/unpackage/dist/cache/.vite/deps/@walletconnect_modal.js?t=1757990241347&v=4486af5e net::ERR_ABORTED 504 (Outdated Optimize Dep)
09-17
list.vue:590 Uncaught (in promise) undefined getFilePageFn @ list.vue:590 await in getFilePageFn (匿名) @ list.vue:162 callWithErrorHandling @ vue.runtime.esm.js:1375 callWithAsyncErrorHandling @ vue.runtime.esm.js:1384 hook.__weh.hook.__weh @ vue.runtime.esm.js:4083 invokeArrayFns @ uni-shared.es.js:361 invokeHook @ uni-h5.es.js:1178 initHooks @ uni-h5.es.js:14923 applyOptions @ uni-h5.es.js:14931 applyOptions @ vue.runtime.esm.js:4915 finishComponentSetup @ vue.runtime.esm.js:8761 handleSetupResult @ vue.runtime.esm.js:8705 setupStatefulComponent @ vue.runtime.esm.js:8668 setupComponent @ vue.runtime.esm.js:8594 mountComponent @ vue.runtime.esm.js:6908 processComponent @ vue.runtime.esm.js:6883 patch @ vue.runtime.esm.js:6479 componentUpdateFn @ vue.runtime.esm.js:7100 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 callWithErrorHandling @ vue.runtime.esm.js:1375 flushJobs @ vue.runtime.esm.js:1609 Promise.then queueFlush @ vue.runtime.esm.js:1501 queueJob @ vue.runtime.esm.js:1495 (匿名) @ vue.runtime.esm.js:7132 triggerEffect @ vue.runtime.esm.js:398 triggerEffects @ vue.runtime.esm.js:388 triggerRefValue @ vue.runtime.esm.js:1019 set value @ vue.runtime.esm.js:1064 (匿名) @ vue.runtime.esm.js:3655 Promise.then setup @ vue.runtime.esm.js:3654 callWithErrorHandling @ vue.runtime.esm.js:1375 setupStatefulComponent @ vue.runtime.esm.js:8639 setupComponent @ vue.runtime.esm.js:8594 mountComponent @ vue.runtime.esm.js:6908 processComponent @ vue.runtime.esm.js:6883 patch @ vue.runtime.esm.js:6479 mountChildren @ vue.runtime.esm.js:6664 processFragment @ vue.runtime.esm.js:6842 patch @ vue.runtime.esm.js:6472 mountChildren @ vue.runtime.esm.js:6664 processFragment @ vue.runtime.esm.js:6842 patch @ vue.runtime.esm.js:6472 mountChildren @ vue.runtime.esm.js:6664 mountElement @ vue.runtime.esm.js:6573 processElement @ vue.runtime.esm.js:6556 patch @ vue.runtime.esm.js:6476 mountChildren @ vue.runtime.esm.js:6664 mountElement @ vue.runtime.esm.js:6573 processElement @ vue.runtime.esm.js:6556 patch @ vue.runtime.esm.js:6476 mountChildren @ vue.runtime.esm.js:6664 processFragment @ vue.runtime.esm.js:6842 patch @ vue.runtime.esm.js:6472 componentUpdateFn @ vue.runtime.esm.js:7022 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 setupRenderEffect @ vue.runtime.esm.js:7148 mountComponent @ vue.runtime.esm.js:6925 processComponent @ vue.runtime.esm.js:6883 patch @ vue.runtime.esm.js:6479 mountChildren @ vue.runtime.esm.js:6664 mountElement @ vue.runtime.esm.js:6573 processElement @ vue.runtime.esm.js:6556 patch @ vue.runtime.esm.js:6476 componentUpdateFn @ vue.runtime.esm.js:7022 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 setupRenderEffect @ vue.runtime.esm.js:7148 mountComponent @ vue.runtime.esm.js:6925 processComponent @ vue.runtime.esm.js:6883 patch @ vue.runtime.esm.js:6479 componentUpdateFn @ vue.runtime.esm.js:7022 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 setupRenderEffect @ vue.runtime.esm.js:7148 mountComponent @ vue.runtime.esm.js:6925 processComponent @ vue.runtime.esm.js:6883 patch @ vue.runtime.esm.js:6479 componentUpdateFn @ vue.runtime.esm.js:7100 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 updateComponent @ vue.runtime.esm.js:6954 processComponent @ vue.runtime.esm.js:6887 patch @ vue.runtime.esm.js:6479 componentUpdateFn @ vue.runtime.esm.js:7100 run @ vue.runtime.esm.js:192 instance.update @ vue.runtime.esm.js:7134 callWithErrorHandling @ vue.runtime.esm.js:1375 flushJobs @ vue.runtime.esm.js:1609 Promise.then queueFlush @ vue.runtime.esm.js:1501 queuePostFlushCb @ vue.runtime.esm.js:1523 queueEffectWithSuspense @ vue.runtime.esm.js:2860 scheduler @ vue.runtime.esm.js:3098 triggerEffect @ vue.runtime.esm.js:398 triggerEffects @ vue.runtime.esm.js:388 triggerRefValue @ vue.runtime.esm.js:1019 (匿名) @ vue.runtime.esm.js:1156 triggerEffect @ vue.runtime.esm.js:398 triggerEffects @ vue.runtime.esm.js:383 triggerRefValue @ vue.runtime.esm.js:1019 (匿名) @ vue.runtime.esm.js:1156 triggerEffect @ vue.runtime.esm.js:398 triggerEffects @ vue.runtime.esm.js:383 triggerRefValue @ vue.runtime.esm.js:1019 set value @ vue.runtime.esm.js:1064 finalizeNavigation @ vue-router.mjs?v=093df986:3503 (匿名) @ vue-router.mjs?v=093df986:3577 Promise.then (匿名) @ vue-router.mjs?v=093df986:3574 (匿名) @ vue-router.mjs?v=093df986:599 popStateHandler @ vue-router.mjs?v=093df986:598了解此错误AI list.vue:392 Uncaught (in promise) undefined
08-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值