Sunday, March 9, 2025
spot_img

My sport wont export – Cocos Creator


When i export my sport(home windows, wed cellular and desktop and many others.) it gained’t export and that i simply get this error:

06-03-2025 16:31:41 construct job failed! TypeError: Can not learn properties of undefined (studying ‘webTestOption’)
at C:UsersharryMemoryMadnessextensionsbuild-plugin-templatedisthooks.js:1:1448
at Generator.subsequent ()
at C:UsersharryMemoryMadnessextensionsbuild-plugin-templatedisthooks.js:1:479
at new Promise ()
at C:UsersharryMemoryMadnessextensionsbuild-plugin-templatedisthooks.js:1:230
at C:UsersharryMemoryMadnessextensionsbuild-plugin-templatedisthooks.js:1:1373
at BuildTask.handleHook (C:ProgramDatacocoseditorsCreator3.8.5resourcesapp.asarbuiltinbuilderdistworkerbuilderindex.ccc:1:13901)
at BuildTask.runPluginTask (C:ProgramDatacocoseditorsCreator3.8.5resourcesapp.asarbuiltinbuilderdistworkerbuildermanagertask-base.ccc:1:1203)
at BuildTask.run (C:ProgramDatacocoseditorsCreator3.8.5resourcesapp.asarbuiltinbuilderdistworkerbuilderindex.ccc:1:4646)
at construct (C:ProgramDatacocoseditorsCreator3.8.5resourcesapp.asarbuiltinbuilderdistworkerindex.ccc:1:4259)
at Ipc. (C:ProgramDatacocoseditorsCreator3.8.5resourcesapp.asarbuiltinbuilderdistworkermsg-util.ccc:1:210)

Please can someone assist

Did you prolong construct course of by a construct plugin, appears to be like like there’s a bug in extensions/build-plugin-template/supply/hooks.ts line 24:

    if (pkgOptions.webTestOption) {  //?? doable error
        console.debug('webTestOption', true);
    }

strive fixing it then rebuild extension

i dont keep in mind getting any extensions

your log reveals that you just did use one, which is ‘build-plugin-template’, it’s a built-in cocos extension
strive deleting folder extensions/build-plugin-template, that may repair your drawback

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles