Read the statement by Michael Teeuw here.
new update/upgrade script, ready for testing
-
pi@raspberrypi:~/MagicMirror $ npm install --arch=armv7l electron@3.0.13 | tee -a ~/MagicMirror/installers/upgrade.log
electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
node install.jsDownloading tmp-13770-1-SHASUMS256.txt-3.0.13
[============================================>] 100.0% of 4.79 kB (4.79 kB/s)
npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.- electron@3.0.13
added 5 packages from 6 contributors and audited 3475 packages in 652.83s
found 28 vulnerabilities (1 low, 1 moderate, 26 high)
runnpm audit fix
to fix them, ornpm audit
for details
pi@raspberrypi:~/MagicMirror $
- electron@3.0.13
-
@bobwilliams woohoo!!!..
now try to start mirror
-
this site can’t be reached
localhost refused to connect -
@bobwilliams can I see your start script?
-
Yes, where do I need to look for him? ))))
-
@bobwilliams how do you start mirror? pm2, or something else
if pm2, pm2 show 0, and there is a script path,
mine is /home/odroid/MagicMirror/installers/mm.sh
-
@sdetweil and if it is pm2, then show pm2 logs --lines=100
(will have to ctrl-c to get out) -
in mm.sh file
cd ~ / MagicMirror
DISPLAY =: 0 npm startpi@raspberrypi:~ $ pm2 logs mm
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)did not quite understand how this is done
-
-
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.9.0 start /home/pi/MagicMirror
sh run-start.shpi@raspberrypi:~/MagicMirror $