Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Error when building project in headless mode #16892

Closed
hulcypdiscord opened this issue Apr 10, 2024 · 1 comment
Closed

Random Error when building project in headless mode #16892

hulcypdiscord opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team
Milestone

Comments

@hulcypdiscord
Copy link
Contributor

hulcypdiscord commented Apr 10, 2024

Cocos Creator version

3.8.2

System information

Windows 10 Editor

Issue description

We are using Jenkins to manage our build pipeline and since upgrading to 3.8.2 randomly builds will stall and the only error seen in the logs is related to a Message not existing called has-dialog.

Relevant error log output

Error: Message does not exist: information - has-dialog
at C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\protected\browser\index.ccc:1:1316
at Generator.next ()
at C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\protected\browser\index.ccc:1:327
at new Promise ()
at C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\protected\browser\index.ccc:1:75
at request (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\protected\browser\index.ccc:1:1165)
at Object.request (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\public\browser.ccc:1:225)
at Object.request (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\creator\dist\message\index.ccc:1:818)
at PluginManager.checkPlatformsInformation (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\builder\dist\share\plugin-manager.ccc:1:7485)
at TaskManager._addTaskInCommand (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\builder\dist\browser\tasks.ccc:1:14515)
at TaskManager.add (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\builder\dist\browser\tasks.ccc:1:12577)
at buildWithCommand (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\builder\dist\browser\tasks.ccc:1:20204)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\builder\dist\browser\index.ccc:1:4306

Steps to reproduce

  1. Open Terminal
  2. Initiate project build from command line in headless mode
  3. Wait for build to succeed or stall
  4. Repeat step 2 and 3 multiple times until it reproduces as it does not always occur.

Command use:
C:\ProgramData\cocos\editors\Creator\3.8.2\CocosCreator.exe --project <project_name> --engine C:\cocos-engine-382 --build "configPath=<config-path>"

Minimal reproduction project

No response

@hulcypdiscord hulcypdiscord added Bug Needs Triage Needs to be assigned by the team labels Apr 10, 2024
@wuzhiming wuzhiming assigned yanOO1497 and unassigned wuzhiming Apr 18, 2024
@yanOO1497
Copy link
Contributor

Thank you for your feedback. This issue has been fixed in version 3.8.3. The beta version has been released in the forum (https://forum.cocos.org/t/topic/157509). You can download and try it.

@yanOO1497 yanOO1497 added this to the v3.8.3 milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

3 participants