Thanks but it didn’t seem to work :-( I tried what you said and then continued with the steps in the tutorial but as you can see it failed. I tried running it again but more errors.
I’m off to bang my head on a wall! :-) I’m quite prepared to believe I’m doing something idiotic as I’m a total Pi/Raspbrian/Python virgin.
pi@raspberrypi:~ $ magicmirror@2.1.3 start /home/pi/MagicMirror
bash: magicmirror@2.1.3: command not found
pi@raspberrypi:~ $ cd MagicMirror/config
pi@raspberrypi:~/MagicMirror/config $ cp config.js.sample config.js
pi@raspberrypi:~/MagicMirror/config $ cd $HOME/MagicMirror
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.1.3 start /home/pi/MagicMirror
sh run-start.sh
run-start.sh: 4: run-start.sh: electron: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.1.3 start: sh run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.1.3 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! /home/pi/.npm/_logs/2018-01-01T17_47_18_127Z-debug.log
pi@raspberrypi:~/MagicMirror $ cd ~
pi@raspberrypi:~ $ npm install electron@1.4.15
electron@1.4.15 postinstall /home/pi/node_modules/electron
node install.js
npm WARN saveError ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
- electron@1.4.15
updated 1 package in 42.487s
pi@raspberrypi:~ $