it is a simple common error sometimes... When we import into the plain Vanilla JS module a ./file instead of a ./file.js (especially when the import is generated by IntelliJ). It has happened to me several times, please consider this, too!