Didn’t realize the path mattered.
> magicmirror@2.20.0 config:check
> node js/check_config.js
/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383
const require$1 = Module.createRequire(require('url').pathToFileURL(__filename).toString());
^
TypeError: Module.createRequire is not a function
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383:26)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
I don’t understand this.