Read the statement by Michael Teeuw here.
MMM-PIR Install Issue
-
Hello all, I have a problem installing MMM-Pir Module. Maybe someone has an idea what I can check/do. Thanks in advance!
Log:
123 timing commandinstall Completed in 3987ms
124 verbose stack Error command failed
124 verbose stack at ChildProcess.anonymous (usrlibnode_modulesnpmnode_modules@npmclipromise-spawnlibindex.js5327)
124 verbose stack at ChildProcess.emit (nodeevents51428)
124 verbose stack at maybeClose (nodeinternalchild_process109116)
124 verbose stack at ChildProcess._handle.onexit (nodeinternalchild_process3025)
125 verbose pkgid MMM-Pir@1.5.0
126 verbose cwd homexenonMagicMirrorv2MagicMirrormodulesMMM-Pir
127 verbose Linux 6.1.21-v8+
128 verbose node v18.17.1
129 verbose npm v9.6.7
130 error code 255
131 error path homexenonMagicMirrorv2MagicMirrormodulesMMM-Pir
132 error command failed
133 error command sh -c installerpreinstall.sh -d ‘unclutter cec-utils ddcutil python3 python-is-python3 python3-gpiozero’
134 verbose exit 255
135 timing npm Completed in 4803ms
136 verbose code 255
137 error A complete log of this run can be found in homexenon.npm_logs2024-03-10T19_31_02_029Z-debug-0.log -
@Andrei-Leahu the module author has been updating recently, I would open an issue on the module github page
-
@Andrei-Leahu
HI, change MagicMirror folder permission as your own user (xenon) and not root -
@bugsounet worked !! Thank you - I m still a linux newbie