Read the statement by Michael Teeuw here.
NPM start, starts but with blank screen
-
@natebrown said in NPM start, starts but with blank screen:
DeprecationWarning:
just a warning that some code (not ours) is using a library call that is going away sometime in the future
-
@sdetweil Thanks, also when i start up my Pi, it shows the “Raspberry Pi OS” Screen and I want it to be just black and how do I speed up autostart (I use sh).
-
@natebrown if u had used the scripted install, it would have asked if u want to use the node process manager, pm to start at boot
u can add it, see command for fixuppm2 here
https://github.com/sdetweil/MagicMirror_scripts
speed up? no idea
-
@sdetweil 1st: Do i execute it in the MagicMirror folder and once its installed what do I do? And will it effect anything on MagicMirror?
-
@natebrown the scripts don’t care, they adjust.
this script changes the installers/mm.sh
-
@natebrown once it is installed. on next boot mm will start. if it fails pm2 will restart it. if you ctrl-q, pm2 will restart it.
minimize and use the pm2 command to stop, start, restart, view logs…
see pm2 --help
-
@natebrown and turn off your sh script, else u will have two starting
-
@sdetweil how do i turn it off? ive just statted up my pi and magicmirror hasnt started.
-
@natebrown pm2 stop 0
pm2 delete 0
pm2 save -
@natebrown pm2 logs --lines=50