[SOLVED] Getting "__start__.js:152 Uncaught ReferenceError: PRELOAD_MODULES is not defined" on exported project

I’m trying to get a new build out for a project and when exporting and testing, it fails to load with

start.js:152 Uncaught ReferenceError: PRELOAD_MODULES is not defined

as error in the console.

Comparing it with previous builds from last week I’m finding these lines of code that are now present and where not before:

if (PRELOAD_MODULES.length > 0) {
    loadModules(PRELOAD_MODULES, ASSET_PREFIX, configure);
} else {

If I comment that out and manually call configure() it seems to load properly. But I can’t be sure that’s a proper fix for the moment.

Asked about this on Discord and was told by yaustar to post here and tag @will

Thanks in advance.

Hi @brunodp,

We are in the process of rolling out a new update, it should be working now.

Could you please try again?


Hi @codebon,

Thanks a lot for the quick reply. It’s working now.