If you are having trouble with the error: To load an ES module, set “type” […]