-
Creator 版本: 3.5.2
-
目标平台: Windows
-
重现方式:新建一个 3.4.2 版本的空项目打包 Windows 平台,能正常构建和生成,将项目升级到 3.5.2 版本再打包,构建正常,但是生成报错。
-
首个报错:
-
之前哪个版本是正常的: 3.4.2
-
编辑器操作系统: Windows 10
-
重现概率:100%
编辑器报错如下:
[Build] make package E:\myWorkSpace\MyProject\NewProject_7\build\windows failed!
[Build] make package E:\myWorkSpace\MyProject\NewProject_7\build\windows failed!
at NewConsole.error (D:\CocosCreator\CocosDashboard_1.0.1\resources\.editors\Creator\3.5.2\resources\app.asar\builtin\builder\dist\worker\console.ccc:1:1180)
at Ipc.<anonymous> (D:\CocosCreator\CocosDashboard_1.0.1\resources\.editors\Creator\3.5.2\resources\app.asar\builtin\builder\dist\worker\index.ccc:1:5035)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
相关构建日志如下:
2022-7-2 18:25-warn: Error: run cmake failed "cmake --build "E:/myWorkSpace/MyProject/NewProject_7/build/windows/proj" --config Release -- -verbosity:quiet", code: 1, signal: null
at ChildProcess.<anonymous> (D:\CocosCreator\CocosDashboard_1.0.1\resources\.editors\Creator\3.5.2\resources\app.asar\modules\platform-extensions\extensions\native\dist\console\cocosCli.ccc:1:7490)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.onexit (internal/child_process.js:288:5)
2022-7-2 18:25-error: make package E:\myWorkSpace\MyProject\NewProject_7\build\windows failed!
2022-7-2 18:25-log: [task:make]: failed!