error when try to start mm
npm info it worked if it ends with ok
npm info using firstname.lastname@example.org
npm info using email@example.com
npm info lifecycle firstname.lastname@example.org~prestart: email@example.com
npm info lifecycle firstname.lastname@example.org~start: email@example.com
firstname.lastname@example.org start /opt/magic_mirror
npm info lifecycle email@example.com~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! firstname.lastname@example.org start:
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /fakehome/root/.npm/_logs/2019-02-10T00_24_58_360Z-debug.log
I figured out the error occured when I try to run mm from ssh if I run directly on rpi consol it works?
But I need to find solution to run mm from ssh. How?
Have you read the readme of MagicMirror?
Also note that:
npm start does not work via SSH. But you can use
DISPLAY=:0 nohup npm start &instead.
This starts the mirror on the remote display.