Read the statement by Michael Teeuw here.
installation of modules
-
-
@pat59 youve got a space between config and check
config:check
in package.json script section are all the npm commands MagicMirror suppports
-
-
@pat59 correct, if you do all this over ssh instead of vnc you can copy the text, instead of screen shot. very hard to read
-
pi@raspberrypi:~ $ cd ~MagicMirror
bash: cd: ~MagicMirror: Aucun fichier ou dossier de ce type
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ npm run config:checkmagicmirror@2.27.0 config:check
node js/check_config.js[2025-02-11 17:59:29.192] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[2025-02-11 17:59:29.324] [ERROR] Your configuration file contains syntax errors :(
[2025-02-11 17:59:29.329] [ERROR] Line 270 column 4: Parsing error: Unexpected token position
pi@raspberrypi:~/MagicMirror $ -
@pat59 yes, go to line 270, should say
position
as first thing
look at the end of line 269
does it have a trailing comma, means more to follow -
@pat59 have you tried my MMM-Config, so you dont have to edit config.js, after one last time
-
-
Bonsoir merci a vous ca fonctionne effectivement il manquait une virgule au module
encore merci merci bonne soirée -
@pat59 vous êtes les bienvenus. content que tu l’aies réparé
-