UNSOLVED error when try to start mm
npm info it worked if it ends with ok
npm info using email@example.com
npm info using firstname.lastname@example.org
npm info lifecycle email@example.com~prestart: firstname.lastname@example.org
npm info lifecycle email@example.com~start: firstname.lastname@example.org
email@example.com start /opt/magic_mirror
npm info lifecycle firstname.lastname@example.org~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! email@example.com start:
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org 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.