Read the statement by Michael Teeuw here.
NPM start, starts but with blank screen
-
What about this part:
[2020-10-18 12:12:44.535] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-10-18 12:12:44.538] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[2020-10-18 12:12:44.564] [LOG] Email notifier error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:413:19)
at clearBuffer (_stream_writable.js:543:7)
at Socket.Writable.uncork (_stream_writable.js:321:7)
at JSStreamSocket.doWrite (internal/js_stream_socket.js:162:17)
at JSStream.onwrite (internal/js_stream_socket.js:20:57)
at Socket.ondata (internal/js_stream_socket.js:64:22)
at Socket.emit (events.js:200:13)
at addChunk (_stream_readable.js:294:12)
at readableAddChunk (_stream_readable.js:275:11)
at Socket.Readable.push (_stream_readable.js:210:10) {
source: ‘socket’
} -
@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.