Hi! I have followed this guide step by step and so precisely, however I am still getting an error when I type in
DISPLAY=:0 npm start through SSH. This is the output:
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start > firstname.lastname@example.org start /home/pi/MagicMirror > sh run-start.sh /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory npm ERR! Linux 4.4.50+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! email@example.com start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the firstname.lastname@example.org start script 'sh run-start.sh'. npm ERR! This is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! sh run-start.sh npm ERR! You can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log
Any help on what to do to solve this would be greatly appreciated!