If you are trying to load the HTML file locally (i.e. which has a file:// URL), you may run into CORS errors because of JavaScript module safety specifications. you must do your tests via a server. GitHub webpages is right as Additionally, it serves .mjs information with the right MIME style. make use of a polyfill to provide a fallback for missin