$ yo --version
/Users/aric/.config/yarn/global/node_modules/inquirer/lib/utils/screen-manager.js:4
const wrapAnsi = require('wrap-ansi');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/aric/.config/yarn/global/node_modules/wrap-ansi/index.js from /Users/aric/.config/yarn/global/node_modules/inquirer/lib/utils/screen-manager.js not supported.
Instead change the require of index.js in /Users/aric/.config/yarn/global/node_modules/inquirer/lib/utils/screen-manager.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/utils/screen-manager.js:4:18)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/prompts/base.js:14:23)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/prompts/list.js:11:14)
at Function.promptModule.restoreDefaultPrompts (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/inquirer.js:61:33)
at Object.inquirer.createPromptModule (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/inquirer.js:72:16)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/inquirer/lib/inquirer.js:84:28)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/yeoman-environment/lib/adapter.js:1:18)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/yeoman-environment/lib/environment.js:27:25)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/yo/lib/router.js:8:27)
at Object.<anonymous> (/Users/aric/.config/yarn/global/node_modules/yo/lib/cli.js:14:16) {
code: 'ERR_REQUIRE_ESM'
}