构建发布时报错,,,急。。。

这是什么问题

0 > [Assets] [build-script][Build Script Rollup]] Circular dependency: file llT/cocos cache/T382lassets/resources/scripts/2 scriptts -> file l/T/cocos cache/T382lassets/resources/scripv v 4 bload

X > [Assets] [build engine]Error. Could not resolve ‘… /predefine’ from … /COCOS/Creator/3 8 2/resources/resources/3d/engine/exports/base.ts

Script

A bload.ts

X v [Assets] excute -taskbuild. -engine failed!

Error: excute -taskbuild- engine failed!

at ChildProcess (L:lCOCOSICreator3 82lresourceslapp asarbuiltinbuilderldistlworkerworker-poolslsub-process- manager.ccc: 1:2669)

wechatgame

at ChildProcess emit (events.js:315:20)

2025- 3-504:52:39 build task failed! excute taskbuild engine failed!

at emit (internal/child_ process .js:903:12)

at process TicksAndRejections (internal/process/task queues.js:81:21)

5t2 95

重启试过么,可以点开日志,查看更详细的报告;
image

2025-3-6 03:30:55 - debug: =================================== build -> run Task (wechatgame) Start ================================

2025-3-6 03:30:55 - debug: Start build task, options:

{“nextStages”:[“run”],“name”:“T382”,“server”:"",“platform”:“wechatgame”,“buildPath”:“project://build”,“debug”:false,“md5Cache”:false,“skipCompressTexture”:false,“sourceMaps”:false,“polyfills”:{“asyncFunctions”:false},“experimentalEraseModules”:false,“startSceneAssetBundle”:true,“bundleConfigs”:[],“useBuiltinServer”:false,“mainBundleIsRemote”:false,“mainBundleCompressionType”:“subpackage”,“useSplashScreen”:true,“bundleCommonChunk”:false,“packAutoAtlas”:true,“startScene”:“efbe62ff-e82a-45bf-aff8-5e541be76e76”,“outputName”:“wechatgame”,“taskName”:“wechatgame”,“scenes”:[{“url”:“db://assets/s1.scene”,“uuid”:“efbe62ff-e82a-45bf-aff8-5e541be76e76”},{“url”:“db://assets/s2.scene”,“uuid”:“cf070d70-6a61-45bb-bb10-0b810510a02c”}],“buildStageGroup”:{“build”:[“run”]},“packages”:{“engine”:{“cleanupImageCache”:“on”,“version”:“1.0.8”},“wechatgame”:{“orientation”:“portrait”,“appid”:“wxbd427c04f33d09c4”,“buildOpenDataContextTemplate”:"",“separateEngine”:false,“highPerformanceMode”:false,“enabelWebGL2”:“off”,“wasm”:“wasm”,“version”:“1.0.4”,“wasmSubpackage”:true},“cocos-service”:{“configID”:“b21aee”,“services”:[{“service_id”:“301”,“service_component_name”:“service-hmslocation”,“builder”:“C:\Users\Li\.CocosCreator\.service\hmslocation\src\builder\builder.js”,“enable”:true,“params”:{}},{“service_id”:“354”,“service_component_name”:“service-hmsads”,“builder”:“C:\Users\Li\.CocosCreator\.service\hmsads\src\builder\builder.js”,“enable”:true,“params”:{}}],“version”:“3.0.7”}},“version”:“1.3.7”,“buildMode”:“normal”,“logDest”:“project://temp/builder/log/wechatgame2025-3-5 04-52.log”}

2025-3-6 03:30:55 - debug: Build with Cocos Creator 3.8.2

2025-3-6 03:30:55 - debug: cocos-service:(onBeforeBuild) start…, progress: 0%

2025-3-6 03:30:55 - debug: // ---- build task cocos-service:onBeforeBuild ----

2025-3-6 03:30:56 - debug: // ---- build task cocos-service:onBeforeBuild ---- (519ms)

2025-3-6 03:30:56 - debug: cocos-service:(onBeforeBuild) in 519 ms ✓, progress: 1%

2025-3-6 03:30:56 - debug: scene:(onBeforeBuild) start…, progress: 1%

2025-3-6 03:30:56 - debug: // ---- build task scene:onBeforeBuild ----

2025-3-6 03:30:56 - debug: // ---- build task scene:onBeforeBuild ---- (30ms)

2025-3-6 03:30:56 - debug: scene:(onBeforeBuild) in 30 ms ✓, progress: 2%

2025-3-6 03:30:56 - debug: Start lock asset db…, progress: 2%

2025-3-6 03:30:56 - log: Asset DB is paused with build!

2025-3-6 03:30:56 - debug: Query all assets info in project

2025-3-6 03:30:56 - debug: init custom config: keepNodeUuid: false, useCache: true

2025-3-6 03:30:56 - debug: Number of all scenes: 2

2025-3-6 03:30:56 - debug: Number of all scripts: 18

2025-3-6 03:30:56 - debug: Number of other assets: 433

2025-3-6 03:30:56 - debug: wechatgame:(onAfterInit) start…, progress: 2%

2025-3-6 03:30:56 - debug: // ---- build task wechatgame:onAfterInit ----

2025-3-6 03:30:56 - debug: // ---- build task wechatgame:onAfterInit ---- (10ms)

2025-3-6 03:30:56 - debug: wechatgame:(onAfterInit) in 10 ms ✓, progress: 3%

2025-3-6 03:30:56 - debug: cocos-service:(onAfterInit) start…, progress: 3%

2025-3-6 03:30:56 - debug: // ---- build task cocos-service:onAfterInit ----

2025-3-6 03:30:56 - debug: // ---- build task cocos-service:onAfterInit ---- (103ms)

2025-3-6 03:30:56 - debug: cocos-service:(onAfterInit) in 103 ms ✓, progress: 4%

2025-3-6 03:30:56 - debug: engine:(onAfterInit) start…, progress: 4%

2025-3-6 03:30:56 - debug: // ---- build task engine:onAfterInit ----

2025-3-6 03:30:56 - debug: // ---- build task engine:onAfterInit ---- (40ms)

2025-3-6 03:30:56 - debug: engine:(onAfterInit) in 40 ms ✓, progress: 6%

2025-3-6 03:30:56 - debug: wechatgame:(onBeforeBundleInit) start…, progress: 6%

2025-3-6 03:30:56 - debug: // ---- build task wechatgame:onBeforeBundleInit ----

2025-3-6 03:30:56 - debug: // ---- build task wechatgame:onBeforeBundleInit ---- (42ms)

2025-3-6 03:30:56 - debug: wechatgame:(onBeforeBundleInit) in 42 ms ✓, progress: 6%

2025-3-6 03:30:56 - debug: adsense-h5g-plugin:(onBeforeBundleInit) start…, progress: 6%

2025-3-6 03:30:56 - debug: // ---- build task adsense-h5g-plugin:onBeforeBundleInit ----

2025-3-6 03:30:56 - debug: [adsense-h5g-plugin] remove script success

2025-3-6 03:30:56 - debug: // ---- build task adsense-h5g-plugin:onBeforeBundleInit ---- (45ms)

2025-3-6 03:30:56 - debug: adsense-h5g-plugin:(onBeforeBundleInit) in 45 ms ✓, progress: 6%

2025-3-6 03:30:56 - debug: Init all bundles start…, progress: 6%

2025-3-6 03:30:56 - debug: Num of bundles: 4…, progress: 6%

2025-3-6 03:30:56 - debug: reload all scripts.

2025-3-6 03:30:56 - debug: Set detail map pack:///resolution-detail-map.json: {}

2025-3-6 03:30:56 - groupCollapsed: Invalidate all modules

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\93\93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\93\93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-empty” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/sorting” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-box2d-wasm” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/light-probe” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-empty” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/sorting” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-box2d-wasm” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/light-probe” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js” loaded.

2025-3-6 03:30:56 - debug: Invalidating ‘pack:///chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js’

2025-3-6 03:30:56 - groupEnd: Invalidate all modules

2025-3-6 03:30:56 - groupCollapsed: Imports all modules

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\6d\6d8fd2b0177941b032ddc0733af48a561fb60657.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\6d\6d8fd2b0177941b032ddc0733af48a561fb60657.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\d6\d661559ec35b495c0a823da872a19aefb680af55.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\d6\d661559ec35b495c0a823da872a19aefb680af55.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register DebugViewRuntimeControl

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/d6/d661559ec35b495c0a823da872a19aefb680af55.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\f5\f5cdadc63783bbb6fb3515156eadb15f0b40f2c0.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\f5\f5cdadc63783bbb6fb3515156eadb15f0b40f2c0.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/f5/f5cdadc63783bbb6fb3515156eadb15f0b40f2c0.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\c9\c922aadbde7a766061de2efe9aec8981434af9f3.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\c9\c922aadbde7a766061de2efe9aec8981434af9f3.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register Game_control

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/c9/c922aadbde7a766061de2efe9aec8981434af9f3.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\e4\e4327fcd717e8c8742fb1c63b4bc146383316b3e.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\e4\e4327fcd717e8c8742fb1c63b4bc146383316b3e.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\6a\6a5019a719a9014c047e67aa1cf34453ab8392ce.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\6a\6a5019a719a9014c047e67aa1cf34453ab8392ce.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register Gameover

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/e4/e4327fcd717e8c8742fb1c63b4bc146383316b3e.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\9f\9fe9706bab7d46beecf03bf2f24c6366c610acf4.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\9f\9fe9706bab7d46beecf03bf2f24c6366c610acf4.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\33\33fd943715d2d54810211a381106492f7283ffb0.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\33\33fd943715d2d54810211a381106492f7283ffb0.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\5a\5a7c481b7ddfc53a11a26de764ece8a1d96c5808.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\5a\5a7c481b7ddfc53a11a26de764ece8a1d96c5808.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register Pre_arrow

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/33/33fd943715d2d54810211a381106492f7283ffb0.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register L_Resources_script

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/5a/5a7c481b7ddfc53a11a26de764ece8a1d96c5808.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register L_Arrow_script

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/9f/9fe9706bab7d46beecf03bf2f24c6366c610acf4.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\db\db06c761bf8ec53388818f8d9c1e3fced4e235b0.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\db\db06c761bf8ec53388818f8d9c1e3fced4e235b0.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\67\67458ae021498ba86988115df34d517e11e450af.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\67\67458ae021498ba86988115df34d517e11e450af.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\ff\ffe231c5ff743eff2116218d8d33f8cecc6c68d7.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\ff\ffe231c5ff743eff2116218d8d33f8cecc6c68d7.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\79\7932c8a4a89ddfd5aa703d2cee27b2227f9c313b.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\79\7932c8a4a89ddfd5aa703d2cee27b2227f9c313b.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\23\23a84365bcb7d5125e615875211b334c830d292c.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\23\23a84365bcb7d5125e615875211b334c830d292c.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\d3\d36b2ee09ad23b9cd2242ff8813ab61bf6078487.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\d3\d36b2ee09ad23b9cd2242ff8813ab61bf6078487.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register Scence_Base

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/79/7932c8a4a89ddfd5aa703d2cee27b2227f9c313b.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register bload

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/d3/d36b2ee09ad23b9cd2242ff8813ab61bf6078487.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register LayerRoot

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/23/23a84365bcb7d5125e615875211b334c830d292c.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register S2_script

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/ff/ffe231c5ff743eff2116218d8d33f8cecc6c68d7.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register Pre_click

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/67/67458ae021498ba86988115df34d517e11e450af.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register L_Button_script

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/db/db06c761bf8ec53388818f8d9c1e3fced4e235b0.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\3e\3e3fc853a59d0981a876b1d91cd8e53d20c17ab9.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\3e\3e3fc853a59d0981a876b1d91cd8e53d20c17ab9.js is not in module cache!

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\b2\b23748f6d4d863bcd53355805c5a29112bc6529a.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\b2\b23748f6d4d863bcd53355805c5a29112bc6529a.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/b2/b23748f6d4d863bcd53355805c5a29112bc6529a.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Register S1_script

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/3e/3e3fc853a59d0981a876b1d91cd8e53d20c17ab9.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\1e\1ee88842683eec11be228844105cd7b5dfe762e3.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\1e\1ee88842683eec11be228844105cd7b5dfe762e3.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register Tips

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/1e/1ee88842683eec11be228844105cd7b5dfe762e3.js” loaded.

2025-3-6 03:30:56 - debug: T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\95\955de2ce8007717fb00f43c241962ee2c363df3c.js resolved to T:\cocos_cache\T382\temp\programming\packer-driver\targets\editor\chunks\95\955de2ce8007717fb00f43c241962ee2c363df3c.js is not in module cache!

2025-3-6 03:30:56 - debug: [[Executor]] Register block

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/95/955de2ce8007717fb00f43c241962ee2c363df3c.js” loaded.

2025-3-6 03:30:56 - debug: [[Executor]] Module “pack:///chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js” loaded.

2025-3-6 03:30:56 - groupEnd: Imports all modules

2025-3-6 03:30:56 - debug: Incremental keys:

2025-3-6 03:30:56 - debug: 查询 Asset Bundle start, progress: 6%

2025-3-6 03:30:56 - debug: // ---- build task 查询 Asset Bundle ----

2025-3-6 03:30:56 - debug: Init bundle root assets start…, progress: 6%

2025-3-6 03:30:56 - 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,970b0598-bcb0-4714-91fb-2e81440dccd8,bcd64cc6-2dd9-43f6-abbe-66318d332032,d930590d-bb92-4cc8-8bd1-23cd027f9edf,a3cd009f-0ab0-420d-9278-b9fdab939bbc,c27215d8-6835-4b68-bfbb-bdeac6100c04,b5d6115f-0370-4d7c-aad3-c194cc71cf98,871c3b6c-7379-419d-bda3-794b239ab90d

2025-3-6 03:30:56 - debug: Init bundle root assets success…, progress: 6%

2025-3-6 03:30:56 - debug: Init bundle share assets start…, progress: 6%

2025-3-6 03:30:57 - debug: Init bundle share assets success…, progress: 6%

2025-3-6 03:30:57 - debug: handle json group in bundle internal

2025-3-6 03:30:57 - debug: handle json group in bundle internal success

2025-3-6 03:30:57 - debug: handle json group in bundle start-scene

2025-3-6 03:30:57 - debug: handle json group in bundle start-scene success

2025-3-6 03:30:57 - debug: handle json group in bundle resources

2025-3-6 03:30:57 - debug: handle json group in bundle main

2025-3-6 03:30:57 - debug: init image compress task 0 in bundle internal

2025-3-6 03:30:57 - debug: init image compress task 0 in bundle start-scene

2025-3-6 03:30:57 - debug: handle json group in bundle main success

2025-3-6 03:30:57 - debug: init image compress task 0 in bundle main

2025-3-6 03:30:57 - debug: handle json group in bundle resources success

2025-3-6 03:30:57 - debug: init image compress task 0 in bundle resources

2025-3-6 03:30:57 - debug: // ---- build task 查询 Asset Bundle ---- (108ms)

2025-3-6 03:30:57 - debug: run build task 查询 Asset Bundle success in 108 ms√, progress: 8%

2025-3-6 03:30:57 - debug: [Build Memory track]: 查询 Asset Bundle start:197.10MB, end 198.52MB, increase: 1.43MB

2025-3-6 03:30:57 - debug: 查询 Asset Bundle start, progress: 8%

2025-3-6 03:30:57 - debug: // ---- build task 查询 Asset Bundle ----

2025-3-6 03:30:57 - debug: // ---- build task 查询 Asset Bundle ---- (36ms)

2025-3-6 03:30:57 - debug: run build task 查询 Asset Bundle success in 36 ms√, progress: 11%

2025-3-6 03:30:57 - debug: [Build Memory track]: 查询 Asset Bundle start:198.54MB, end 198.60MB, increase: 63.61KB

2025-3-6 03:30:57 - debug: 打包脚本 start, progress: 11%

2025-3-6 03:30:57 - debug: // ---- build task 打包脚本 ----

2025-3-6 03:30:58 - debug: Generate systemJs…, progress: 11%

2025-3-6 03:31:01 - debug: 构建项目脚本 start…, progress: 11%

2025-3-6 03:31:01 - debug: Build script in bundle start, progress: 11%

2025-3-6 03:31:01 - log: Run build task(build-script) in child, see: chrome://inspect/#devices

2025-3-6 03:31:02 - log: [build-script]enter sub process 7816, L:\COCOS\Creator\3.8.2\CocosCreator.exe,L:\COCOS\Creator\3.8.2\resources\app.asar\builtin\builder\static\sub-process-index

2025-3-6 03:31:03 - warn: [build-script][[Build.Script.Rollup]] Circular dependency: file:///T:/cocos_cache/T382/assets/resources/scripts/S2_script.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/Layer_root.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/S2_script.ts

[warning][[Build.Script.Rollup]] Circular dependency: file:///T:/cocos_cache/T382/assets/resources/scripts/L_Button_script.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/Pre_click.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/S2_script.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/Layer_root.ts -> file:///T:/cocos_cache/T382/assets/resources/scripts/L_Button_script.ts

2025-3-6 03:31:05 - debug: excute-script over with build-script 4123ms

2025-3-6 03:31:05 - debug: Copy externalScripts success!

2025-3-6 03:31:05 - debug: Build script in bundle success, progress: 11%

2025-3-6 03:31:05 - debug: 构建项目脚本 in (4272 ms) √, progress: 11%

2025-3-6 03:31:05 - debug: 构建引擎脚本 start…, progress: 11%

2025-3-6 03:31:05 - debug: Engine cache ({link(C:\Users\Li\AppData\Local\Temp\CocosCreator\3.8.2\builder\engine\f62839ed3c0488b913bbc882002f5165)}) does not exist.

2025-3-6 03:31:05 - log: Run build task(build-engine) in child, see: chrome://inspect/#devices

2025-3-6 03:31:06 - log: [build-engine]enter sub process 14656, L:\COCOS\Creator\3.8.2\CocosCreator.exe,L:\COCOS\Creator\3.8.2\resources\app.asar\builtin\builder\static\sub-process-index

2025-3-6 03:31:07 - 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];

}

}
。。。。。。下面还有好多

建议清理一下cocos缓存,好像缓存文件丢失了 :thinking:

我去试一下

编辑器有直接清理缓存按钮吗

你的cocos引擎的缓存应该在里,把(C:\Users\Li\AppData\Local\Temp\CocosCreator\3.8.2\builder\engine)里的缓存文件都删了试试

这里提到了两个循环依赖,你可以查一下是不是脚本里面循环引用了
S2_script.ts ->Layer_root.ts->S2_script.ts
L_Button_script.ts->Pre_click.ts->S2_script.ts->Layer_root.ts->L_Button_script.ts

c 我看了一下,,本来也就什么都没有啊。。

我的cocos安装在L盘,缓存在T盘

你这个编辑器

你这个编辑器编译其他项目能成功吗? :thinking:如果能可以重点查查循环依赖的问题。

不过循环引用是警告,应该不影响打包才对

不知道跟这个有没有关系engine failed

我也没遇到过, :thinking:不过你这个编辑器构建空项目不会报错吗?

我试一下新建个项目去打包看看行不行


其他项目也是这样报错。。是不是要重新安装一下


都是这样

:mask: 到底哪个环节出了问题

重新安装一个吧,不行的话,各个版本都试试