For me (Fedora 42, latest emscripten version) the make file for your umap did not work initially. I think the reason was that recent versions of emscripten require some flags to be there explicitely.
The error was "HEAPF32 not found" and looking at the module, the memory was not present. This flag fixed the issue for me
-sEXPORTED_RUNTIME_METHODS='["HEAP32", "HEAPF32", "HEAPU8"]'