3.6.1 vivo小游戏打包报错

  • Creator 版本: 3.6.1

  • 目标平台:

  • 重现方式:

  • 首个报错:
    2022-9-26 19:54:23-debug: =================================== Build Task (vivo-mini-game) Start ================================
    2022-9-26 19:54:24-debug: cocos-service:(onBeforeBuild) start…0%
    2022-9-26 19:54:24-debug: // ---- build task cocos-service:onBeforeBuild ----
    2022-9-26 19:54:23-debug: Build with Cocos Creator 3.6.1
    2022-9-26 19:54:23-debug: Start build task, options:
    {“nextStages”:[“make”],“name”:“3.6.1-NewProject”,“platform”:“vivo-mini-game”,“buildPath”:“project://build”,“debug”:false,“md5Cache”:true,“skipCompressTexture”:false,“sourceMaps”:false,“polyfills”:{“asyncFunctions”:false},“experimentalEraseModules”:false,“useBuiltinServer”:false,“mainBundleIsRemote”:false,“mainBundleCompressionType”:“merge_dep”,“replaceSplashScreen”:false,“startScene”:“1c33b374-e46f-4d8f-a0f1-e2926ae5e689”,“outputName”:“vivo-mini-game”,“scenes”:[{“url”:“db://assets/scene.scene”,“uuid”:“1c33b374-e46f-4d8f-a0f1-e2926ae5e689”,“inBundle”:false}],“web-desktop”:[],“packages”:{“cocos-service”:{“configID”:“942b60”,“services”:[]},“vivo-mini-game”:{“startSceneAssetBundle”:false,“package”:“com.vivo.cocos”,“icon”:“D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\app.asar\static\logo.png”,“versionName”:“1.0.0”,“versionCode”:1201,“minPlatformVersion”:1056,“deviceOrientation”:“portrait”,“useDebugKey”:true,“privatePemPath”:"",“certificatePemPath”:"",“separateEngine”:false,“version”:“1.0.1”}},“version”:“1.3.3”,“buildStageGroup”:{“build”:[“make”]},“vivo-mini-game”:[]}
    2022-9-26 19:54:24-debug: Process: heapTotal 192.28MB heapUsed 183.72MB rss 498.86MB
    2022-9-26 19:54:24-debug: // ---- build task cocos-service:onBeforeBuild ---- (9ms)
    2022-9-26 19:54:24-debug: cocos-service:(onBeforeBuild) in 9 ms2%
    2022-9-26 19:54:24-debug: Query all assets info in project
    2022-9-26 19:54:24-debug: init custom config: keepNodeUuid: false, useCache: true
    2022-9-26 19:54:24-debug: BuildAssetLibrary query-assets with assets 313
    2022-9-26 19:54:24-debug: BuildAssetLibrary initialized with asset 404!
    2022-9-26 19:54:24-debug: Number of all scenes: 1
    2022-9-26 19:54:24-debug: Number of all scripts: 1
    2022-9-26 19:54:24-debug: Number of other assets: 382
    2022-9-26 19:54:24-debug: vivo-mini-game:(onAfterInit) start…2%
    2022-9-26 19:54:24-debug: // ---- build task vivo-mini-game:onAfterInit ----
    2022-9-26 19:54:24-debug: Process: heapTotal 197.55MB heapUsed 183.79MB rss 499.60MB
    2022-9-26 19:54:24-debug: // ---- build task vivo-mini-game:onAfterInit ---- (6ms)
    2022-9-26 19:54:24-debug: Process: heapTotal 197.55MB heapUsed 183.84MB rss 499.52MB
    2022-9-26 19:54:24-debug: vivo-mini-game:(onAfterInit) in 6 ms4%
    2022-9-26 19:54:24-debug: cocos-service:(onAfterInit) start…4%
    2022-9-26 19:54:24-debug: // ---- build task cocos-service:onAfterInit ----
    2022-9-26 19:54:24-debug: // ---- build task cocos-service:onAfterInit ---- (5ms)
    2022-9-26 19:54:24-debug: cocos-service:(onAfterInit) in 5 ms5%
    2022-9-26 19:54:24-debug: // ---- build task localization-editor:onAfterInit ----
    2022-9-26 19:54:24-debug: localization-editor:(onAfterInit) start…5%
    2022-9-26 19:54:24-debug: Process: heapTotal 197.55MB heapUsed 183.89MB rss 499.53MB
    2022-9-26 19:54:24-debug: // ---- build task localization-editor:onAfterInit ---- (3ms)
    2022-9-26 19:54:24-debug: localization-editor:(onAfterInit) in 3 ms6%
    2022-9-26 19:54:24-debug: Process: heapTotal 197.55MB heapUsed 183.93MB rss 499.54MB
    2022-9-26 19:54:24-debug: // ---- build task 加载刷新项目脚本 ----
    2022-9-26 19:54:24-debug: reload all scripts.
    2022-9-26 19:54:24-debug: 加载刷新项目脚本 start6%
    2022-9-26 19:54:24-debug: Incremental keys:
    2022-9-26 19:54:24-debug: Set detail map pack:///resolution-detail-map.json: {}
    2022-9-26 19:54:24-debug: E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\d0\d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js resolved to E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\d0\d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js is not in module cache!
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.
    2022-9-26 19:54:24-debug: Invalidating ‘pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js’
    2022-9-26 19:54:24-debug: [[Executor]] Module “pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.
    2022-9-26 19:54:24-debug: E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\48\48925ed89f58b0eff72f0ddf69b47c4b5e8f623a.js resolved to E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\48\48925ed89f58b0eff72f0ddf69b47c4b5e8f623a.js is not in module cache!
    2022-9-26 19:54:24-debug: [[Executor]] Module “pack:///chunks/48/48925ed89f58b0eff72f0ddf69b47c4b5e8f623a.js” loaded.
    2022-9-26 19:54:24-debug: E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\82\82d8f30ea5c3bd254481abc0627c8dfa5e823971.js resolved to E:\CocosPJ\Test\3.6.1-NewProject\temp\programming\packer-driver\targets\editor\chunks\82\82d8f30ea5c3bd254481abc0627c8dfa5e823971.js is not in module cache!
    2022-9-26 19:54:24-debug: [[Executor]] Module “pack:///chunks/82/82d8f30ea5c3bd254481abc0627c8dfa5e823971.js” loaded.
    2022-9-26 19:54:24-debug: [[Executor]] Register NewComponent
    2022-9-26 19:54:24-debug: [[Executor]] Module “pack:///chunks/48/48925ed89f58b0eff72f0ddf69b47c4b5e8f623a.js” loaded.
    2022-9-26 19:54:24-debug: // ---- build task 加载刷新项目脚本 ---- (34ms)
    2022-9-26 19:54:24-debug: run build task 加载刷新项目脚本 success in 34 ms √7%
    2022-9-26 19:54:24-debug: Process: heapTotal 197.78MB heapUsed 183.76MB rss 500.96MB
    2022-9-26 19:54:24-debug: // ---- build task 查询 Asset Bundle ----
    2022-9-26 19:54:24-debug: 查询 Asset Bundle start7%
    2022-9-26 19:54:24-debug: // ---- build task 查询 Asset Bundle ---- (7ms)
    2022-9-26 19:54:24-debug: run build task 查询 Asset Bundle success in 7 ms √8%
    2022-9-26 19:54:24-debug: Process: heapTotal 197.78MB heapUsed 183.81MB rss 500.96MB
    2022-9-26 19:54:24-debug: 查询使用的资源以及资源包配置 start8%
    2022-9-26 19:54:24-debug: // ---- build task 查询使用的资源以及资源包配置 ----
    2022-9-26 19:54:24-debug: Query preload assets from cc.config.json: 60f7195c-ec2a-45eb-ba94-8955f60e81d0,1c02ae6f-4492-4915-b8f8-7492a3b1e4cd,810e96e4-e456-4468-9b59-f4e8f39732c0,efe8e2a3-eace-427b-b4f1-cb8a937ec77d,e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f,8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107,50f4348b-c883-4e2f-8f11-ce233b859fa1,fda095cb-831d-4601-ad94-846013963de8,f92806d7-1768-443f-afe8-12bcde84d0f0,dd3a144d-ab7f-41f0-82b8-2e43a090d496,f0416e68-0200-4b77-a926-4f9d16e494da,1baf0fc9-befa-459c-8bdd-af1a450a0319,511d2633-09a7-4bdd-ac42-f778032124b3,5d45aa00-e064-4938-b314-4265f0c2258c,28d6d6b8-3f66-4a73-9795-17a0852ba2d4,ec8106fe-05bf-4e94-943c-e0d3b7bb5e45,620b6bf3-0369-4560-837f-2a2c00b73c26,ff9be190-20a4-4e48-b68c-76e3c7cff085,970b0598-bcb0-4714-91fb-2e81440dccd8,bcd64cc6-2dd9-43f6-abbe-66318d332032,d930590d-bb92-4cc8-8bd1-23cd027f9edf,a3cd009f-0ab0-420d-9278-b9fdab939bbc,9361fd90-ba52-4f84-aa93-6e878fd576ca,d1346436-ac96-4271-b863-1f4fdead95b0,971bdb23-3ff6-43eb-b422-1c30165a3663,17debcc3-0a6b-4b8a-b00b-dc58b885581e,711ebe11-f673-4cd9-9a83-63c60ba54c5b,c0143906-9aed-447e-9436-2ae8512d1b6e,14da1725-c4c2-42b4-ab08-ee0aeb6898b3,081cab31-dccd-428e-8652-f2404cc81c47,78e0584a-4343-4727-8f37-e14e65c2a2db,ba21476f-2866-4f81-9c4d-6e359316e448,871c3b6c-7379-419d-bda3-794b239ab90d,c27215d8-6835-4b68-bfbb-bdeac6100c04,b5d6115f-0370-4d7c-aad3-c194cc71cf98,1d08ef62-a503-4ce2-8b9a-46c90873f7d3
    2022-9-26 19:54:24-debug: Number of scenes: 1
    2022-9-26 19:54:24-debug: Number of assets: 55
    2022-9-26 19:54:24-debug: Number of asset bundle: 2
    2022-9-26 19:54:24-debug: run build task 查询使用的资源以及资源包配置 success in 34 ms √9%
    2022-9-26 19:54:24-debug: 整理脚本分组与脚本数据 start9%
    2022-9-26 19:54:24-debug: // ---- build task 整理脚本分组与脚本数据 ----
    2022-9-26 19:54:24-debug: // ---- build task 查询使用的资源以及资源包配置 ---- (34ms)
    2022-9-26 19:54:24-debug: sort script group…
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.24MB rss 506.11MB
    2022-9-26 19:54:24-debug: // ---- build task 整理脚本分组与脚本数据 ---- (1ms)
    2022-9-26 19:54:24-debug: run build task 整理脚本分组与脚本数据 success in 1 ms √10%
    2022-9-26 19:54:24-debug: 整理纹理压缩任务 start10%
    2022-9-26 19:54:24-debug: // ---- build task 整理纹理压缩任务 ----
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.28MB rss 506.12MB
    2022-9-26 19:54:24-debug: Number of image-compress task: 0
    2022-9-26 19:54:24-debug: // ---- build task 整理纹理压缩任务 ---- (3ms)
    2022-9-26 19:54:24-debug: run build task 整理纹理压缩任务 success in 3 ms √11%
    2022-9-26 19:54:24-debug: 初步划分 JSON 合并分组 start11%
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.34MB rss 506.13MB
    2022-9-26 19:54:24-debug: Number of json group: 2
    2022-9-26 19:54:24-debug: // ---- build task 初步划分 JSON 合并分组 ----
    2022-9-26 19:54:24-debug: // ---- build task 初步划分 JSON 合并分组 ---- (1ms)
    2022-9-26 19:54:24-debug: run build task 初步划分 JSON 合并分组 success in 1 ms √12%
    2022-9-26 19:54:24-debug: 整理合并压缩 Texture2D 的 JSON 数据 start12%
    2022-9-26 19:54:24-debug: // ---- build task 整理合并压缩 Texture2D 的 JSON 数据 ----
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.41MB rss 506.13MB
    2022-9-26 19:54:24-debug: // ---- build task 整理合并压缩 Texture2D 的 JSON 数据 ---- (1ms)
    2022-9-26 19:54:24-debug: run build task 整理合并压缩 Texture2D 的 JSON 数据 success in 1 ms √13%
    2022-9-26 19:54:24-debug: // ---- build task 收集 importMap 信息 ----
    2022-9-26 19:54:24-debug: 收集 importMap 信息 start13%
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.45MB rss 506.13MB
    2022-9-26 19:54:24-debug: vivo-mini-game:(onBeforeBuildAssets) start…14%
    2022-9-26 19:54:24-debug: run build task 收集 importMap 信息 success in 0 ms √14%
    2022-9-26 19:54:24-debug: // ---- build task vivo-mini-game:onBeforeBuildAssets ----
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.48MB rss 506.16MB
    2022-9-26 19:54:24-debug: // ---- build task vivo-mini-game:onBeforeBuildAssets ---- (1ms)
    2022-9-26 19:54:24-debug: vivo-mini-game:(onBeforeBuildAssets) in 1 ms16%
    2022-9-26 19:54:24-debug: localization-editor:(onBeforeBuildAssets) start…16%
    2022-9-26 19:54:24-debug: // ---- build task localization-editor:onBeforeBuildAssets ----
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.53MB rss 506.22MB
    2022-9-26 19:54:24-debug: // ---- build task localization-editor:onBeforeBuildAssets ---- (2ms)
    2022-9-26 19:54:24-debug: localization-editor:(onBeforeBuildAssets) in 2 ms17%
    2022-9-26 19:54:24-debug: 构建自动图集 start17%
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.57MB rss 506.27MB
    2022-9-26 19:54:24-debug: Start collect pack info
    2022-9-26 19:54:24-debug: // ---- build task 构建自动图集 ----
    2022-9-26 19:54:24-debug: // ---- build task 构建自动图集 ---- (1ms)
    2022-9-26 19:54:24-debug: run build task 构建自动图集 success in 1 ms √22%
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.62MB rss 506.32MB
    2022-9-26 19:54:24-debug: 图片拷贝压缩任务 start22%
    2022-9-26 19:54:24-debug: // ---- build task 图片拷贝压缩任务 ----
    2022-9-26 19:54:24-debug: run build task 图片拷贝压缩任务 success in 0 ms √28%
    2022-9-26 19:54:24-debug: // ---- build task 将资源拷贝到指定位置 ----
    2022-9-26 19:54:24-debug: Process: heapTotal 199.51MB heapUsed 188.66MB rss 506.65MB
    2022-9-26 19:54:24-debug: 将资源拷贝到指定位置 start28%
    2022-9-26 19:54:24-debug: Asset Bundle(internal) handle assets: 36
    2022-9-26 19:54:24-debug: Asset Bundle(main) handle assets: 19
    2022-9-26 19:54:24-debug: // ---- build task 将资源拷贝到指定位置 ---- (18ms)
    2022-9-26 19:54:24-debug: run build task 将资源拷贝到指定位置 success in 18 ms √33%
    2022-9-26 19:54:24-debug: // ---- build task 将分组后的 json 与散文件构建到指定位置 ----
    2022-9-26 19:54:24-debug: 将分组后的 json 与散文件构建到指定位置 start33%
    2022-9-26 19:54:24-debug: Process: heapTotal 197.78MB heapUsed 183.98MB rss 504.55MB
    2022-9-26 19:54:24-debug: Json group(06efdbec0) compile success,json number: 6
    2022-9-26 19:54:24-debug: Json group(035d0924d) compile success,json number: 6
    2022-9-26 19:54:24-debug: // ---- build task 将分组后的 json 与散文件构建到指定位置 ---- (96ms)
    2022-9-26 19:54:24-debug: run build task 将分组后的 json 与散文件构建到指定位置 success in 96 ms √38%
    2022-9-26 19:54:24-debug: // ---- build task 压缩 Zip Bundle ----
    2022-9-26 19:54:24-debug: 压缩 Zip Bundle start38%
    2022-9-26 19:54:24-debug: Process: heapTotal 209.04MB heapUsed 189.95MB rss 508.75MB
    2022-9-26 19:54:24-debug: run build task 压缩 Zip Bundle success in 0 ms √44%
    2022-9-26 19:54:24-debug: Process: heapTotal 209.04MB heapUsed 189.98MB rss 508.79MB
    2022-9-26 19:54:24-debug: 打包脚本 start44%
    2022-9-26 19:54:24-debug: // ---- build task 打包脚本 ----
    2022-9-26 19:54:27-debug: 构建项目脚本 start…44%
    2022-9-26 19:54:27-debug: Process: heapTotal 221.67MB heapUsed 202.60MB rss 521.34MB
    2022-9-26 19:54:27-log: Run build task(build-script) in child, see: chrome://inspect/#devices
    2022-9-26 19:54:28-log: [build-script]enter sub process 8248, D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\CocosCreator.exe,D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\app.asar\builtin\builder\static\sub-process-index

2022-9-26 19:54:32-debug: excute-script over with build-script 5040ms
2022-9-26 19:54:32-debug: Copy externalScripts success!
2022-9-26 19:54:32-debug: 构建项目脚本 in (5065 ms) √44%
2022-9-26 19:54:32-debug: 构建引擎脚本 start…44%
2022-9-26 19:54:32-debug: Process: heapTotal 221.67MB heapUsed 202.75MB rss 521.34MB
2022-9-26 19:54:32-debug: Engine cache ({link(C:\Users\Trump\AppData\Local\Temp\CocosCreator\3.6.1\builder\engine\f0fb8bda44a0a1ac838bd129ed93014c)}) does not exist.
2022-9-26 19:54:32-log: Run build task(build-engine) in child, see: chrome://inspect/#devices
2022-9-26 19:54:33-log: [build-engine]enter sub process 17836, D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\CocosCreator.exe,D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\app.asar\builtin\builder\static\sub-process-index

2022-9-26 19:54:36-log: [build-engine]Build-engine options: {
“engine”: “D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine”,
“platform”: “VIVO”,
“moduleFormat”: 2,
“compress”: true,
“split”: false,
“ammoJsWasm”: “js”,
“assetURLFormat”: “runtime-resolved”,
“noDeprecatedFeatures”: false,
“engineName”: “cocos-js”,
“sourceMaps”: false,
“features”: [
“2d”,
“3d”,
“animation”,
“audio”,
“base”,
“dragon-bones”,
“gfx-webgl”,
“intersection-2d”,
“marionette”,
“particle”,
“particle-2d”,
“physics-2d-box2d”,
“physics-ammo”,
“primitive”,
“profiler”,
“skeletal-animation”,
“spine”,
“terrain”,
“tiled-map”,
“tween”,
“ui”,
“video”,
“webview”,
“xr”
],
“loose”: true,
“mode”: “BUILD”,
“flags”: {
“DEBUG”: false,
“UI_GPU_DRIVEN”: false
},
“name”: “cocos-js”,
“incremental”: “C:\Users\Trump\AppData\Local\Temp\CocosCreator\3.6.1\builder\engine\f0fb8bda44a0a1ac838bd129ed93014c.watch-files.json”,
“out”: “C:\Users\Trump\AppData\Local\Temp\CocosCreator\3.6.1\builder\engine\f0fb8bda44a0a1ac838bd129ed93014c”,
“buildTimeConstants”: {
“HTML5”: false,
“NATIVE”: false,
“WECHAT”: false,
“BAIDU”: false,
“XIAOMI”: false,
“ALIPAY”: false,
“BYTEDANCE”: false,
“OPPO”: false,
“VIVO”: true,
“HUAWEI”: false,
“COCOSPLAY”: false,
“QTT”: false,
“LINKSURE”: false,
“EDITOR”: false,
“PREVIEW”: false,
“BUILD”: true,
“TEST”: false,
“DEBUG”: false,
“SERVER_MODE”: false,
“DEV”: false,
“MINIGAME”: false,
“RUNTIME_BASED”: true,
“SUPPORT_JIT”: false,
“JSB”: false,
“NOT_PACK_PHYSX_LIBS”: false,
“NET_MODE”: 0
},
“metaFile”: “C:\Users\Trump\AppData\Local\Temp\CocosCreator\3.6.1\builder\engine\f0fb8bda44a0a1ac838bd129ed93014c.meta\meta.json”
}

2022-9-26 19:54:36-log: [build-engine]Module source “internal-constants”:
function tryDefineGlobal (name, value) {

const _global = typeof window === 'undefined' ? global : window;

if (typeof _global[name] === 'undefined') {

    return (_global[name] = value);

} else {

    // eslint-disable-next-line @typescript-eslint/no-unsafe-return

    return _global[name];

}

}
export const HTML5 = false;

export const NATIVE = false;

export const WECHAT = false;
tryDefineGlobal(‘CC_WECHAT’, false);

export const BAIDU = false;
tryDefineGlobal(‘CC_BAIDU’, false);

export const XIAOMI = false;
tryDefineGlobal(‘CC_XIAOMI’, false);

export const ALIPAY = false;
tryDefineGlobal(‘CC_ALIPAY’, false);

export const BYTEDANCE = false;
tryDefineGlobal(‘CC_BYTEDANCE’, false);

export const OPPO = false;
tryDefineGlobal(‘CC_OPPO’, false);

export const VIVO = true;
tryDefineGlobal(‘CC_VIVO’, true);

export const HUAWEI = false;
tryDefineGlobal(‘CC_HUAWEI’, false);

export const COCOSPLAY = false;
tryDefineGlobal(‘CC_COCOSPLAY’, false);

export const QTT = false;
tryDefineGlobal(‘CC_QTT’, false);

export const LINKSURE = false;
tryDefineGlobal(‘CC_LINKSURE’, false);

export const EDITOR = false;
tryDefineGlobal(‘CC_EDITOR’, false);

export const PREVIEW = false;
tryDefineGlobal(‘CC_PREVIEW’, false);

export const BUILD = true;
tryDefineGlobal(‘CC_BUILD’, true);

export const TEST = false;
tryDefineGlobal(‘CC_TEST’, false);

export const DEBUG = false;
tryDefineGlobal(‘CC_DEBUG’, false);

export const SERVER_MODE = false;

export const DEV = false;
tryDefineGlobal(‘CC_DEV’, false);

export const MINIGAME = false;
tryDefineGlobal(‘CC_MINIGAME’, false);

export const RUNTIME_BASED = true;
tryDefineGlobal(‘CC_RUNTIME_BASED’, true);

export const SUPPORT_JIT = false;
tryDefineGlobal(‘CC_SUPPORT_JIT’, false);

export const JSB = false;
tryDefineGlobal(‘CC_JSB’, false);

export const NOT_PACK_PHYSX_LIBS = false;

export const NET_MODE = 0;

Module source “cc”:
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\2d.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\3d.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\animation.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\audio.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\base.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\dragon-bones.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\gfx-webgl.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\intersection-2d.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\particle.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\particle-2d.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\physics-2d-box2d.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\physics-2d-framework.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\physics-ammo.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\physics-framework.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\primitive.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\profiler.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\skeletal-animation.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\spine.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\terrain.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\tiled-map.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\tween.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\ui.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\video.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\webview.ts’;
export * from ‘D:\CocosDashboard_1.0.4\resources\.editors\Creator\3.6.1\resources\resources\3d\engine\exports\xr.ts’;

2022-9-26 19:54:36-log: [build-engine]Redirect module internal:native to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\cocos\native-binding\impl.ts

2022-9-26 19:54:38-log: [build-engine]Redirect module pal/system-info to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\system-info\minigame\system-info.ts

2022-9-26 19:54:40-log: [build-engine]Redirect module pal/input to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\input\minigame\index.ts

2022-9-26 19:54:40-log: [build-engine]Redirect module pal/env to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\env\runtime\env.ts
Redirect module pal/pacer to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\pacer\pacer-minigame.ts

2022-9-26 19:54:40-log: [build-engine]Redirect module pal/audio to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\audio\minigame\player.ts

2022-9-26 19:54:43-log: [build-engine]Redirect module pal/screen-adapter to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\screen-adapter\minigame\screen-adapter.ts

2022-9-26 19:54:43-log: [build-engine]Redirect module pal/minigame to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\pal\minigame\runtime.ts

2022-9-26 19:54:46-log: [build-engine]Rollup warning ‘THIS_IS_UNDEFINED’ is omitted for D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\cocos\spine\lib\spine-core.js

2022-9-26 19:54:46-log: [build-engine]Rollup warning ‘THIS_IS_UNDEFINED’ is omitted for D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\cocos\spine\lib\spine-core.js

2022-9-26 19:54:51-log: [build-engine]Rollup warning ‘THIS_IS_UNDEFINED’ is omitted for D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\node_modules@cocos\dragonbones-js\out\dragonBones.js

2022-9-26 19:54:51-log: [build-engine]Rollup warning ‘THIS_IS_UNDEFINED’ is omitted for D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\node_modules@cocos\dragonbones-js\out\dragonBones.js

2022-9-26 19:55:02-log: [build-engine]Redirect module D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\cocos\2d\renderer\native-2d.ts to D:\CocosDashboard_1.0.4\resources.editors\Creator\3.6.1\resources\resources\3d\engine\cocos\2d\renderer\native-2d-empty.ts

2022-9-26 19:55:21-log: [build-engine]==== Performance ====
{"# BUILD":[45163.5365,906967488,1003484084],"## generate module graph":[42128.7198,791376872,887896528],"- plugin 0 (@cocos/build-engine|code-asset) - resolveId":[6.310400000000078,335800,886347144],"- plugin 1 (@cocos/build-engine|load-asset) - resolveId":[6.269900000000176,955348,886350504],"- plugin 1 (@cocos/build-engine|load-asset) - resolveId (async)":[40.752499999999706,3738380,886351204],"- plugin 2 (@cocos/build-engine|module-overrides) - resolveId":[7.354199999999842,342108,886353164],"- plugin 3 (virtual) - resolveId":[33.17690000000008,-4355860,886361732],"- plugin 4 (ts-paths) - resolveId":[4.751699999999884,320836,886363300],"- plugin 5 (node-resolve) - resolveId":[56.924500000000016,6201060,886376932],"- plugin 5 (node-resolve) - resolveId (async)":[284870.2982000005,-2418090632,887833864],“load modules”:[280485.89109999995,1202544720,886136308],"- plugin 0 (@cocos/build-engine|code-asset) - load":[9.947299999999998,796776,879651440],"- plugin 0 (@cocos/build-engine|code-asset) - load (async)":[1.5756000000000168,193020,879651724],"- plugin 1 (@cocos/build-engine|load-asset) - load":[1.517500000000008,206588,879652280],"- plugin 1 (@cocos/build-engine|load-asset) - load (async)":[1.9046000000000565,189388,879652564],"- plugin 2 (@cocos/build-engine|module-overrides) - load":[6.117800000000005,493616,879653100],"- plugin 3 (virtual) - load":[1.267500000000004,65140,879653492],"- plugin 6 (json) - transform":[4.087300000000011,637224,886141428],"- plugin 7 (commonjs) - transform":[1103.1492999999998,45369544,886144468],"- plugin 8 (babel) - transform":[359.17369999999994,17637856,886180392],“generate ast”:[1293.3540999999998,16560380,885745172],“analyse ast”:[1642.1447000000019,106000436,886332956],"- plugin 5 (node-resolve) - load":[1.1766000000000014,64452,879653924],"- plugin 7 (commonjs) - load":[5.280600000000003,811220,879655324],"- plugin 8 (babel) - load":[254.13160000000238,8820044,879655716],"- plugin 8 (babel) - transform (async)":[32315.30249999998,758653324,885652724],"- plugin 7 (commonjs) - resolveId":[2.184600000000003,47344,886083904],"- plugin 8 (babel) - resolveId":[0.8627000000000012,28668,886084320],"- plugin 7 (commonjs) - resolveId (async)":[10453.5861,296977884,838559876],"- plugin 7 (commonjs) - load (async)":[541.3511,14553884,675576132],"## sort modules":[460.1357,20276708,908173672],"## mark included statements":[2574.4773,95308912,1003482972],“treeshaking pass 1”:[795.5488,35133280,942823492],“treeshaking pass 2”:[482.468,19985496,962809368],“treeshaking pass 3”:[229.6801,7098752,969908500],“treeshaking pass 4”:[162.0046,5714952,975623832],“treeshaking pass 5”:[276.5291,12553180,988177392],“treeshaking pass 6”:[211.8893,5737232,993915004],“treeshaking pass 7”:[144.7239,504044,994419428],“treeshaking pass 8”:[126.1697,1173972,995593780],“treeshaking pass 9”:[121.7786,7888440,1003482600]}
==== ====

2022-9-26 19:55:42-debug: excute-script over with build-engine 70193ms
2022-9-26 19:55:42-debug: 构建引擎脚本 in (70237 ms) √44%
2022-9-26 19:55:42-debug: // ---- build task 打包脚本 ---- (78210ms)
2022-9-26 19:55:42-debug: run build task 打包脚本 success in 78210 ms √49%
2022-9-26 19:55:42-debug: // ---- build task 给所有的资源加上 MD5 后缀 ----
2022-9-26 19:55:42-debug: 给所有的资源加上 MD5 后缀 start49%
2022-9-26 19:55:42-debug: Process: heapTotal 196.32MB heapUsed 188.51MB rss 502.14MB
2022-9-26 19:55:43-debug: add suffix to assets(13) success!
2022-9-26 19:55:43-debug: // ---- build task 给所有的资源加上 MD5 后缀 ---- (338ms)
2022-9-26 19:55:43-debug: run build task 给所有的资源加上 MD5 后缀 success in 338 ms √57%
2022-9-26 19:55:43-debug: // ---- build task 初始化 settings.json 与 config.json ----
2022-9-26 19:55:43-debug: 初始化 settings.json 与 config.json start57%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 189.24MB rss 505.82MB
2022-9-26 19:55:43-debug: // ---- build task 初始化 settings.json 与 config.json ---- (1ms)
2022-9-26 19:55:43-debug: run build task 初始化 settings.json 与 config.json success in 1 ms √57%
2022-9-26 19:55:43-debug: builder.tasks.settings.macro start57%
2022-9-26 19:55:43-debug: // ---- build task builder.tasks.settings.macro ----
2022-9-26 19:55:43-debug: builder.tasks.settings.macro 字段未在编辑器多语言内定义
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.41MB rss 502.80MB
2022-9-26 19:55:43-debug: // ---- build task builder.tasks.settings.macro ---- (3ms)
2022-9-26 19:55:43-debug: run build task builder.tasks.settings.macro success in 3 ms √58%
2022-9-26 19:55:43-debug: 整理部分构建选项内数据到 settings.json start58%
2022-9-26 19:55:43-debug: // ---- build task 整理部分构建选项内数据到 settings.json ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.45MB rss 502.84MB
2022-9-26 19:55:43-debug: // ---- build task 整理部分构建选项内数据到 settings.json ---- (3ms)
2022-9-26 19:55:43-debug: run build task 整理部分构建选项内数据到 settings.json success in 3 ms √58%
2022-9-26 19:55:43-debug: // ---- build task custom joint texture layouts ----
2022-9-26 19:55:43-debug: custom joint texture layouts start58%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.53MB rss 502.95MB
2022-9-26 19:55:43-debug: // ---- build task custom joint texture layouts ---- (2ms)
2022-9-26 19:55:43-debug: run build task custom joint texture layouts success in 2 ms √59%
2022-9-26 19:55:43-debug: // ---- build task custom joint physics ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.57MB rss 502.98MB
2022-9-26 19:55:43-debug: custom joint physics start59%
2022-9-26 19:55:43-debug: run build task custom joint physics success in 0 ms √59%
2022-9-26 19:55:43-debug: // ---- build task 填充脚本数据到 settings.json ----
2022-9-26 19:55:43-debug: 填充脚本数据到 settings.json start59%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.60MB rss 503.02MB
2022-9-26 19:55:43-debug: // ---- build task 填充脚本数据到 settings.json ---- (1ms)
2022-9-26 19:55:43-debug: run build task 填充脚本数据到 settings.json success in 1 ms √60%
2022-9-26 19:55:43-debug: // ---- build task 填充场景数据到 settings.json ----
2022-9-26 19:55:43-debug: 填充场景数据到 settings.json start60%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.64MB rss 503.04MB
2022-9-26 19:55:43-debug: // ---- build task 填充场景数据到 settings.json ---- (1ms)
2022-9-26 19:55:43-debug: run build task 填充场景数据到 settings.json success in 1 ms √60%
2022-9-26 19:55:43-debug: // ---- build task 整理资源分组,生成 packedAssets 以及 rawAssets 数据 ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.68MB rss 503.07MB
2022-9-26 19:55:43-debug: 整理资源分组,生成 packedAssets 以及 rawAssets 数据 start60%
2022-9-26 19:55:43-debug: // ---- build task 整理资源分组,生成 packedAssets 以及 rawAssets 数据 ---- (1ms)
2022-9-26 19:55:43-debug: run build task 整理资源分组,生成 packedAssets 以及 rawAssets 数据 success in 1 ms √60%
2022-9-26 19:55:43-debug: 从 suffixMap 生成 md5AssetsMap 到 settings.json start60%
2022-9-26 19:55:43-debug: // ---- build task 从 suffixMap 生成 md5AssetsMap 到 settings.json ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.74MB rss 503.14MB
2022-9-26 19:55:43-debug: run build task 从 suffixMap 生成 md5AssetsMap 到 settings.json success in 0 ms √61%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.78MB rss 503.18MB
2022-9-26 19:55:43-debug: // ---- build task vivo-mini-game:onBeforeCompressSettings ----
2022-9-26 19:55:43-debug: vivo-mini-game:(onBeforeCompressSettings) start…61%
2022-9-26 19:55:43-debug: // ---- build task vivo-mini-game:onBeforeCompressSettings ---- (1ms)
2022-9-26 19:55:43-debug: cocos-service:(onBeforeCompressSettings) start…62%
2022-9-26 19:55:43-debug: vivo-mini-game:(onBeforeCompressSettings) in 1 ms62%
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onBeforeCompressSettings ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.82MB rss 503.22MB
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onBeforeCompressSettings ---- (19ms)
2022-9-26 19:55:43-debug: 生成 import-map.json start64%
2022-9-26 19:55:43-debug: cocos-service:(onBeforeCompressSettings) in 19 ms64%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.88MB rss 503.28MB
2022-9-26 19:55:43-debug: // ---- build task 生成 import-map.json ----
2022-9-26 19:55:43-debug: // ---- build task 生成 import-map.json ---- (2ms)
2022-9-26 19:55:43-debug: run build task 生成 import-map.json success in 2 ms √64%
2022-9-26 19:55:43-debug: // ---- build task 压缩 config.json 与 settings.json ----
2022-9-26 19:55:43-debug: 压缩 config.json 与 settings.json start64%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.92MB rss 503.33MB
2022-9-26 19:55:43-debug: // ---- build task 压缩 config.json 与 settings.json ---- (1ms)
2022-9-26 19:55:43-debug: run build task 压缩 config.json 与 settings.json success in 1 ms √65%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 189.00MB rss 503.42MB
2022-9-26 19:55:43-debug: // ---- build task 保存 config.json ----
2022-9-26 19:55:43-debug: 保存 config.json start65%
2022-9-26 19:55:43-debug: // ---- build task 保存 config.json ---- (2ms)
2022-9-26 19:55:43-debug: run build task 保存 config.json success in 2 ms √66%
2022-9-26 19:55:43-debug: 保存 settings.json start66%
2022-9-26 19:55:43-debug: // ---- build task 保存 settings.json ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 189.08MB rss 503.51MB
2022-9-26 19:55:43-debug: // ---- build task 保存 settings.json ---- (8ms)
2022-9-26 19:55:43-debug: run build task 保存 settings.json success in 8 ms √67%
2022-9-26 19:55:43-debug: Process: heapTotal 196.32MB heapUsed 188.51MB rss 502.28MB
2022-9-26 19:55:43-debug: 整理静态模板文件 start67%
2022-9-26 19:55:43-debug: // ---- build task 整理静态模板文件 ----
2022-9-26 19:55:43-debug: // ---- build task 整理静态模板文件 ---- (65ms)
2022-9-26 19:55:43-debug: run build task 整理静态模板文件 success in 65 ms √68%
2022-9-26 19:55:43-debug: cocos-service:(onAfterCompressSettings) start…68%
2022-9-26 19:55:43-debug: Process: heapTotal 196.82MB heapUsed 189.70MB rss 502.96MB
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onAfterCompressSettings ----
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onAfterCompressSettings ---- (5ms)
2022-9-26 19:55:43-debug: cocos-service:(onAfterCompressSettings) in 5 ms69%
2022-9-26 19:55:43-debug: // ---- build task vivo-mini-game:onAfterBuild ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.82MB heapUsed 189.92MB rss 503.05MB
2022-9-26 19:55:43-debug: vivo-mini-game:(onAfterBuild) start…69%
2022-9-26 19:55:43-debug: // ---- build task vivo-mini-game:onAfterBuild ---- (160ms)
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onAfterBuild ----
2022-9-26 19:55:43-debug: Process: heapTotal 196.82MB heapUsed 189.73MB rss 502.40MB
2022-9-26 19:55:43-debug: cocos-service:(onAfterBuild) start…70%
2022-9-26 19:55:43-debug: vivo-mini-game:(onAfterBuild) in 160 ms70%
2022-9-26 19:55:43-debug: // ---- build task cocos-service:onAfterBuild ---- (5ms)
2022-9-26 19:55:43-debug: cocos-service:(onAfterBuild) in 5 ms72%
2022-9-26 19:55:43-debug: // ---- builder:run-build-stage-make ----
2022-9-26 19:55:43-debug: Use build file cocos.compile.config.json in root(E:\CocosPJ\Test\3.6.1-NewProject\build\vivo-mini-game)
2022-9-26 19:55:43-debug: init options success76%
2022-9-26 19:55:43-debug: init options success
2022-9-26 19:55:43-debug: vivo-mini-game:(make) start…80%
2022-9-26 19:55:43-debug: vivo-mini-game:(make) start…
2022-9-26 19:55:43-debug: // ---- build task vivo-mini-game:make ----
2022-9-26 19:55:43-debug: Check is install nodejs
2022-9-26 19:55:43-debug: Check is install pack tools
2022-9-26 19:55:43-debug: Use the cache vivo pack tools
2022-9-26 19:55:43-debug: clear resources in pack tools
2022-9-26 19:55:43-log: 开始构建 rpk 包
2022-9-26 19:55:45-log:
2022-9-26 19:55:45-debug: start build rpk
{“name”:“3.6.1-NewProject”,“useDebugKey”:true}
2022-9-26 19:55:46-log: npm ERR!
2022-9-26 19:55:46-log: missing script: build

2022-9-26 19:55:46-log: npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Trump\AppData\Roaming\npm-cache_logs\2022-09-26T11_55_46_447Z-debug.log

2022-9-26 19:55:46-debug: Child process exit width code 1
2022-9-26 19:55:46-warn: Child process exit width code 1
2022-9-26 19:55:46-debug: // ---- builder:run-build-stage-make ---- (2956ms)
2022-9-26 19:55:46-debug: builder:build-project-total (82722ms)

  • 之前哪个版本是正常的:
  • 手机型号:
  • 手机浏览器:
  • 编辑器操作系统:
  • 重现概率:

我已经降回3.4.2了