WebGL - Uncaught TypeError is not a function - Only on webserver


I’m getting the error below only when I upload the game to my hosting service, it doesn’t happen when I play it locally:

Uncaught TypeError: __GLOBAL__sub_I_Thread_cpp_74776 is not a function
at func 
at callRuntimeCallbacks
at ensureInitRuntime
at doRun 
at blob

Just clear the browser cache. I think it happens because the browser has some old build files in cache