nrm
nrm copied to clipboard
what happen for this case
/usr/local/lib/node_modules/nrm/cli.js:9 const open = require('open'); ^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/nrm/node_modules/open/index.js from /usr/local/lib/node_modules/nrm/cli.js not supported.
Instead change the require of index.js in /usr/local/lib/node_modules/nrm/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object.
Node.js v18.15.0 C02F63FKMD6R:1.js bytedance$