To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use `node --trace-warnings ...` to show where the warning was created) code example
Example: node package.json type module
node --experimental-modules app.js