…Fast forward to the stream where I was creating a project from scratch and there wasn’t a package.json file (with "type": "module") in my simple demo and Node tried to load the file as CJS and failed.
So, I’m going to have to reimplement the ES Module loader just to tell Node that it should treat .js files as ES Modules not CJS.
*smh*
Anyway, mystery solved :)
Sorry for those of you who had to watch me flail during the stream but it’s also part of why I do them… :)