【问题解决】Error [ERR_REQUIRE_ESM]: require() of ES Module xx\nrm\cli.js not supported.
const open = require('open'); ^Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\dell\AppData\Roaming\npm\node_modules\nrm\node_modules\open\index.js from C:\Users\dell\AppData\Roaming\npm\node_modules\nrm\cli.js not supported.