Read the statement by Michael Teeuw here.
Problems with Config.js on Pi4 BlackScreen
-
@sdetweil ok done, what to do now. ive just copied the installer one and overwrite the magic mirror path one
-
-
@sdetweil no i mearly placed it in the magicmirror folder path. its set to Cd /MagicMirror folder already and pm2 -help isnt displaying a list of pm2 commands
-
@dazza120 inside needs to be
cd /home/pi/MagicMirror DISPLAY=:0 npm start
-
@sdetweil changed it what now mate
-
@dazza120 did u try pm2 now?
-
@sdetweil pm2 start or the dev thing?
-
Let’s get npm start dev working
-
@sdetweil still nothing in the dev console mate, i can start the whole build over again but everytime i go to change the config it doesnt work
-
@dazza120 ok, start again… change the config?
So, you install a module. If it has package.json file you run npm install in the module folder
Then edit config.js and add
Module structure.{ module:'somename', config: { } },
To the modules array.
If think syntax error, from the MagicMirror folder do,
npm run config:check