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


#1

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 {
    configure();
}

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.


#2

Hi @brunodp,

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

Could you please try again?

Thanks


#3

Hi @codebon,

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