Read the statement by Michael Teeuw here.
obsession with modul checker
-
@htilburgs the script looks if it is under an magicmirror/modules folder and takes this as root folder for modules.
otherwise it will take/opt/magic_mirror/modulesif your setup is different you need to adapt the script.
the script itself can be placed independently
-
@HeikoGr
Oké, thank you -
@HeikoGr the script could check and provide a parameter
-
@heikogr
I gave it a testrun and it gave me an errorRunning checks for 17 modules... â Error: Command failed: npx tsx scripts/check-modules/index.ts npm warn exec The following package was not found and will be installed: tsx@4.21.0 [2026-01-23T17:21:24.195Z] [ERROR] [check-modules] Schema validation failed for modules.stage.4: /modules/6/keywords: must NOT have fewer than 1 items /modules/8/keywords: must NOT have fewer than 1 items /modules/15/keywords: must NOT have fewer than 1 items npm warn exec The following package was not found and will be installed: tsx@4.21.0 [2026-01-23T17:21:24.195Z] [ERROR] [check-modules] Schema validation failed for modules.stage.4: /modules/6/keywords: must NOT have fewer than 1 items /modules/8/keywords: must NOT have fewer than 1 items /modules/15/keywords: must NOT have fewer than 1 itemsAny idea?
-
After installing tsx (npm install tsx@4.21.0) it gave me a new error:
đ Running checks for 17 modules... â Error: Command failed: npx tsx scripts/check-modules/index.ts [2026-01-23T17:25:32.134Z] [ERROR] [check-modules] Schema validation failed for modules.stage.4: /modules/6/keywords: must NOT have fewer than 1 items /modules/8/keywords: must NOT have fewer than 1 items /modules/15/keywords: must NOT have fewer than 1 items [2026-01-23T17:25:32.134Z] [ERROR] [check-modules] Schema validation failed for modules.stage.4: /modules/6/keywords: must NOT have fewer than 1 items /modules/8/keywords: must NOT have fewer than 1 items /modules/15/keywords: must NOT have fewer than 1 items -
@htilburgs i guess your modules are missing the minimal requirements for MagicMirror modules in the packages.json file.
I managed to lower the requirementsâŠ
-
@htilburgs In case you havenât seen it yet: You can also check https://modules.magicmirror.builders/result.html#MMM-MyHomeWizard-by-HTilburgs. Thats the result of the checks on what you pushed to GitHub.
-
@KristjanESPERANTO
Thanks, I didnât know about this.
This is the result of running the script? -
@htilburgs itâs the original script. My script only tries to run this script locally on demand
-
@HeikoGr đ
