uni-app云打包卡在40%等了十几分钟

uni-app云打包卡在40%等了十几分钟

操作步骤:

预期结果:

实际结果:

bug描述:

云端打包时,卡在:“正在编译打包资源…” 40% 的进度。 控制台已经输出了: 编译成功
点击取消按钮没有反应,点击隐藏后,再点击取消,提示:没有可取消的打包请求

信息类别 详情
产品分类 uniapp/App
PC开发环境 Windows
PC版本号 11
HBuilderX类型 正式
HBuilderX版本 4.76
手机系统 Android
手机版本号 Android 10
手机机型 PDA
页面类型 nvue
vue版本 vue2
打包方式 云端
项目创建方式 HBuilderX

更多关于uni-app云打包卡在40%等了十几分钟的实战教程也可以访问 https://www.itying.com/category-93-b0.html

4 回复

2025-10-14 15:29:07.065 [WARNING:] QWinJumpList: AppendCategory() failed: 0x80070005, E_ACCESSDENIED. 2025-10-14 15:29:07.070 [WARNING:] QWinJumpList: AppendCategory() failed: 0x80070005, E_ACCESSDENIED. 2025-10-14 15:29:15.933 [INFO:] (apppackagejob run) 2025-10-14 15:29:15.933 [INFO:] (apppackagejob run) “检查云端打包状态…” 2025-10-14 15:29:15.941 [INFO:] (apppackagejob run) doservervalidate 2025-10-14 15:29:15.941 [INFO:] (doservervalidate) checkstatusandcancelpack (appid: “UNI1757176” ) 2025-10-14 15:29:16.413 [INFO:] (doservervalidate) prevvalidateonserver 2025-10-14 15:29:17.651 [WARNING:] [prevValidateOnServer] 0 2025-10-14 15:29:17.652 [INFO:] (apppackagejob run 1) check is canceled 2025-10-14 15:29:17.652 [INFO:] (apppackagejob run) processevent validatefinished 2025-10-14 15:29:17.654 [INFO:] (apppackagejob run) generatepackageresource 2025-10-14 15:29:17.654 [INFO:] (generatepackageresource) 2025-10-14 15:29:17.654 [INFO:] (generatepackageresource) (uuid: “719a4617c21f4e66a9a096c72debef5f” ) (utscachpath: “C:/Users/Admin/AppData/Local/Temp/719a4617c21f4e66a9a096c72debef5f” ) 2025-10-14 15:29:17.655 [INFO:] (generatepackageresource 2) create compiler 2025-10-14 15:29:17.655 [INFO:] (generatepackageresource 2) compiler compile 2025-10-14 15:29:17.655 [INFO:] (compile) innerCompile 2025-10-14 15:29:17.655 [INFO:] (compile innerCompile) project check type 2025-10-14 15:29:17.656 [INFO:] (compile innerCompile) set mobileid: “” 2025-10-14 15:29:17.656 [INFO:] (compile innerCompile) init (type: AbstractCompiler::CompileType(Release) ) 2025-10-14 15:29:17.656 [INFO:] (compile innerCompile) !console 2025-10-14 15:29:17.658 [INFO:] (compile innerCompile) no valid window, getconsole 2025-10-14 15:29:17.658 [INFO:] (showconsoleview) (id: “” ) (title: “” ) (active: true ) (project:0x “0” ) 2025-10-14 15:29:17.658 [INFO:] (showconsoleview) [title= “控制台” ] 2025-10-14 15:29:17.658 [INFO:] (showconsoleview) [viewpart= “15e517cc280” ] bottomviewsvalid find “workbench.view.console” 2025-10-14 15:29:17.659 [INFO:] (showconsoleview) bottomviews active view 0x “15e517cc280” 2025-10-14 15:29:17.659 [INFO:] (showconsoleview) showbottomview 2025-10-14 15:29:17.659 [INFO:] (showconsoleview) set (project:0x “15e517cc280” ) & (realtitle: “控制台” ) 2025-10-14 15:29:17.660 [INFO:] (compile innerCompile sync) console get realtitle 2025-10-14 15:29:17.660 [INFO:] (compile innerCompile sync) console get trackers 2025-10-14 15:29:17.660 [INFO:] (compile innerCompile sync) project get name 2025-10-14 15:29:17.661 [INFO:] (compile innerCompile) gettranslatesettings 2025-10-14 15:29:17.661 [INFO:] (compile innerCompile) invokepluginapi:unicloud getcompilerenvs 2025-10-14 15:29:17.667 [INFO:] (compile innerCompile) invokepluginapi:unicloud getcompilerenvs get done 2025-10-14 15:29:17.667 [INFO:] (compile innerCompile 1) consolelog output 2025-10-14 15:29:17.667 [INFO:] (consolelog) call devicelauncher::consolelog 2025-10-14 15:29:17.668 [INFO:] (devicelauncher consolelog 5) get view by active window 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) (id: “” ) (title: “控制台” ) (active: false ) (project:0x “15e4d6430d0” ) 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) [viewpart= “15e517cc280” ] bottomviewsvalid find “workbench.view.console” 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) getcurrentbottomconsoleview 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) [consoleview = 0x “15e517cc280” ]getcurrentbottomconsoleview 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) showbottomview 2025-10-14 15:29:17.668 [INFO:] (showconsoleview) set (project:0x “15e517cc280” ) & (realtitle: “控制台” ) 2025-10-14 15:29:17.669 [INFO:] (devicelauncher consolelog 3) (view:0x “15e517cc280” ) appendstring 2025-10-14 15:29:17.669 [INFO:] (consolelog) call devicelauncher::consolelog done 2025-10-14 15:29:17.669 [INFO:] (compile innerCompile 1) project get filepath 2025-10-14 15:29:17.669 [INFO:] (compile innerCompile 1) project check uniappcli 2025-10-14 15:29:17.669 [INFO:] (compile innerCompile) project get packagejson 2025-10-14 15:29:17.671 [INFO:] (compile innerCompile 1) createvalidation for jshint 2025-10-14 15:29:17.671 [INFO:] (compile innerCompile 1) mainvalidation exec 2025-10-14 15:29:17.806 [INFO:] (compile innerCompile 1) mainvalidation exec done 2025-10-14 15:29:17.806 [INFO:] (compile innerCompile 2) createvalidation for jshint 2025-10-14 15:29:17.808 [INFO:] (compile innerCompile 2) pagesvalidation exec 2025-10-14 15:29:17.938 [INFO:] (compile innerCompile 2) pagesvalidation exec done 2025-10-14 15:29:17.938 [INFO:] (compile innerCompile) project get filepath 2025-10-14 15:29:17.939 [INFO:] (compile innerCompile 2) project check uniappcli 2025-10-14 15:29:17.939 [INFO:] (compile innerCompile 3) project check uniappcli 2025-10-14 15:29:17.940 [INFO:] (compile innerCompile) get pluginstate state: 0 2025-10-14 15:29:17.940 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.940 [INFO:] (compile innerCompile ) get project fileinfo 2025-10-14 15:29:17.941 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.941 [INFO:] (compile innerCompile ) get nodepath 2025-10-14 15:29:17.941 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.955 [INFO:] (compile innerCompile ) get translatesettings 2025-10-14 15:29:17.955 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.956 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.956 [INFO:] (compile innerCompile ) check vue3cli 2025-10-14 15:29:17.956 [INFO:] (compile innerCompile ) check uniappcli vue3cli usevue3compile 2025-10-14 15:29:17.957 [INFO:] (compile innerCompile ) check uniappcli 2025-10-14 15:29:17.957 [INFO:] node “D:/HBuilderX/plugins/node/node.exe” 2025-10-14 15:29:17.958 [INFO:] args ("–max-old-space-size=3072", “–no-warnings”, “D:/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js”) 2025-10-14 15:29:17.958 [INFO:] (compile innerCompile ) get page: “15e4d94c4b0” 2025-10-14 15:29:17.958 [INFO:] (compile innerCompile ) getcurrentlauncher 2025-10-14 15:29:19.096 [INFO:] (compile innerCompile ) console (lines: 3 ) 2025-10-14 15:29:19.096 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:19.096 [INFO:] (consolelog) call devicelauncher::consolelog 2025-10-14 15:29:19.097 [INFO:] (devicelauncher consolelog 5) get view by active window 2025-10-14 15:29:19.097 [INFO:] (showconsoleview) (id: “” ) (title: “控制台” ) (active: false ) (project:0x “15e4d6430d0” ) 2025-10-14 15:29:19.097 [INFO:] (showconsoleview) [viewpart= “15e517cc280” ] bottomviewsvalid find “workbench.view.console” 2025-10-14 15:29:19.097 [INFO:] (showconsoleview) getcurrentbottomconsoleview 2025-10-14 15:29:19.098 [INFO:] (showconsoleview) [consoleview = 0x “15e517cc280” ]getcurrentbottomconsoleview 2025-10-14 15:29:19.098 [INFO:] (showconsoleview) [active = false] getcurrentbottomconsoleview 2025-10-14 15:29:19.098 [INFO:] (showconsoleview) showbottomview 2025-10-14 15:29:19.098 [INFO:] (showconsoleview) set (project:0x “15e517cc280” ) & (realtitle: “控制台” ) 2025-10-14 15:29:19.098 [INFO:] (devicelauncher consolelog 3) (view:0x “15e517cc280” ) appendstring 2025-10-14 15:29:19.099 [INFO:] (consolelog) call devicelauncher::consolelog done 2025-10-14 15:29:19.099 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:19.101 [INFO:] (consolelog) call devicelauncher::consolelog 2025-10-14 15:29:19.101 [INFO:] (devicelauncher consolelog 5) get view by active window 2025-10-14 15:29:19.101 [INFO:] (showconsoleview) (id: “” ) (title: “控制台” ) (active: false ) (project:0x “15e4d6430d0” ) 2025-10-14 15:29:19.101 [INFO:] (showconsoleview) [viewpart= “15e517cc280” ] bottomviewsvalid find “workbench.view.console” 2025-10-14 15:29:19.102 [INFO:] (showconsoleview) getcurrentbottomconsoleview 2025-10-14 15:29:19.102 [INFO:] (showconsoleview) [consoleview = 0x “15e517cc280” ]getcurrentbottomconsoleview 2025-10-14 15:29:19.102 [INFO:] (showconsoleview) [active = false] getcurrentbottomconsoleview 2025-10-14 15:29:19.102 [INFO:] (showconsoleview) showbottomview 2025-10-14 15:29:19.102 [INFO:] (showconsoleview) set (project:0x “15e517cc280” ) & (realtitle: “控制台” ) 2025-10-14 15:29:19.102 [INFO:] (devicelauncher consolelog 3) (view:0x “15e517cc280” ) appendstring 2025-10-14 15:29:19.103 [INFO:] (consolelog) call devicelauncher::consolelog done 2025-10-14 15:29:19.103 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:19.255 [INFO:] (compile innerCompile ) console (lines: 2 ) 2025-10-14 15:29:19.255 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:19.255 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:26.387 [WARNING:] [PluginHost] [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082) [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082) [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082)
2025-10-14 15:29:26.387 [WARNING:] [PluginHost] [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082) [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082)
2025-10-14 15:29:26.392 [WARNING:] [PluginHost] [LanguageServerIndex] [Error - 15:29:26] [Indexer] ContextLineTextIsLong! FilePath: e:/_word/test/pda/unpackage/dist/build/app-plus/view.css at Logger.getStackTrace (D:\HBuilderX\plugins\hbuilderx-language-services\indexservice\out\server\logger.js:1:1082)
2025-10-14 15:29:27.896 [INFO:] (compile innerCompile ) console (lines: 2 ) 2025-10-14 15:29:27.896 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:27.896 [INFO:] (consolelog) call devicelauncher::consolelog 2025-10-14 15:29:27.896 [INFO:] (devicelauncher consolelog 5) get view by active window 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) (id: “” ) (title: “控制台” ) (active: false ) (project:0x “15e4d6430d0” ) 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) [viewpart= “15e517cc280” ] bottomviewsvalid find “workbench.view.console” 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) getcurrentbottomconsoleview 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) [consoleview = 0x “15e517cc280” ]getcurrentbottomconsoleview 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) [active = false] getcurrentbottomconsoleview 2025-10-14 15:29:27.897 [INFO:] (showconsoleview) showbottomview 2025-10-14 15:29:27.898 [INFO:] (showconsoleview) set (project:0x “15e517cc280” ) & (realtitle: “控制台” ) 2025-10-14 15:29:27.898 [INFO:] (devicelauncher consolelog 3) (view:0x “15e517cc280” ) appendstring 2025-10-14 15:29:27.898 [INFO:] (consolelog) call devicelauncher::consolelog done 2025-10-14 15:29:27.898 [INFO:] (compile innerCompile ) compile 2025-10-14 15:29:27.898 [INFO:] (compile innerCompile ) consolelog 2025-10-14 15:29:35.007 [WARNING:] QWinJumpList: AppendCategory() failed: 0x80070005, E_ACCESSDENIED. 2025-10-14 15:29:35.011 [WARNING:] QWinJumpList: AppendCategory() failed: 0x80070005, E_ACCESSDENIED.

更多关于uni-app云打包卡在40%等了十几分钟的实战教程也可以访问 https://www.itying.com/category-93-b0.html


你这个是cli 项目吗

不是的 引用了uts的相机就打包不了

回复 1***@qq.com: 新建一个测试项目,也是加上相关的调用,看一下能否复现,如果可以复现,可以把测试项目发一下

回到顶部