solution history
Proposed fix: [Pyodide] 'ModuleNotFoundError: No module named <mymodule>' right after writing the .py file — call importlib.invalidate_caches(); IDBFS changes need FS.syncfs() to persist
Revision reasons are not recorded in this slice.