Ugh, I think i found it. You need to do npm install as root…
Wait, nope!
pi@Pi:~/MagicMirror $ sudo npm install
> electron@1.6.6 postinstall /home/pi/MagicMirror/node_modules/electron
> node install.js
/home/pi/MagicMirror/node_modules/electron/install.js:47
throw err
^
Error: ENOENT: no such file or directory, lstat '/home/pi/MagicMirror/node_modules/electron/dist/resources'
at Error (native)
npm ERR! Linux 4.9.25-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 1
Ugh, I give up. Going to bed. Thanks for your help, i’ll fix in the morning. :)