使用cocoscreator3.8.2版本的工程构建微信小游戏,只要主包压缩类型选择小游戏分包,到微信开发者工具中运行就会报这个错,模拟器中能正常运行,上传后进不去(我用一个空工程试了一下也是同样的结果)
[] summer-compiler miss js file, subpackages/internal/import/05/05de040c9.6e49b.json.js
Error: summer-compiler miss js file, subpackages/internal/import/05/05de040c9.6e49b.json.js
at SummerCompiler.compileJS (C:\Program Files (x86)\Tencent\code\package.nw\js\common\miniprogram-builder\modules\corecompiler\summerCompiler.js:2:11151)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async O (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:1313)
at async R (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:3343)
at async exports.getCompiledJS (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:4173)
at async exports.getRuntimeJS (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:4864)
at async module.exports (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\bb2c2114b22d4af48ec81b0c1257b0f8.js:2:331)
at async C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\af7e7c98cbc5339efce1d7549388ba10.js:2:826
at async Proxy.module.exports (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\af7e7c98cbc5339efce1d7549388ba10.js:2:705)
at async module.exports (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\907cc0638dd01cea382d3e7f42df7ac2.js:2:3809)
at async Proxy.getGamePageResource (C:\Program Files (x86)\Tencent\code\package.nw\core.wxvpkg\b1646961ef2f09d5fda027ffc1432b60.js:2:3464)(env: Windows,mg,1.06.2407101; lib: 3.5.6)