Read the statement by Michael Teeuw here.
After update, nothing happens.
-
Already up-to-date.
Which sounds promising.
-
-
-
@Richard238 redirect the output to a file
npm start >somefile
then find the 1st 10 error lines and 5 before that
-
contents of file:
> magicmirror@2.14.0-develop start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
All “npm ERR!” messages
npm ERR! Linux 4.9.35-v7+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! node v6.17.1 npm ERR! npm v3.10.10 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.14.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.14.0-develop start script 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, 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! DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn't available, 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
-
@Richard238 is this a pi 0?
-
@Richard238 node and npm are way downlevel
-
No, it’s a Pi 3B
-
@Richard238 hm… rename your magic mirror folder to some other name
then run my installer to get everything updated
the in your existing folder do
rm -rf node_moules
npm install --only=prod
then npm start and see what happensmy installer will start.mm again, just do.pm2 stop all, and we will fix it later
see here for the installer script
-
Do I run your installer
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
from the (renamed) MM folder, or from the /home/pi prompt?