Solve – To load an ES module, set “type”: “module” in the package.json or use the .mjs extension
The warning To load an ES module, set “type”: “module” in the package.json or use the .mjs extension occurs when using ES6 Module import syntax in a NodeJs application without…
Continue reading