Read the statement by Michael Teeuw here.
NPM start, starts but with blank screen
-
@natebrown and this one:
[2020-10-18 12:12:43.003] [ERROR] (node:25630) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
-
@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