要在 Node.js 中使用 ECMAScript 模块 (ESM),需要在执行脚本时使用 --experimental-modules 标记。例如: node --experimental-modules my-app.mjs