If you are attempting to load the HTML file domestically (i.e. which has a file:// URL), you'll operate into CORS problems as a consequence of JavaScript module safety needs. you might want to do your tests through a server. GitHub internet pages is ideal as What's more, it serves .mjs data files with the right MIME form. strolling Modules in two