Read the statement by Michael Teeuw here.
So ... to update MagicMirror I would ... ??
-
Yep. I see I’m not the only one with a blank screen…
I did the git pull && npm install. It went through with only two warnings. Then after pm2 restart mm.sh I got the blank screen. I see that there is an npm-debug.log that contains some errors:14 verbose stack Error: magicmirror@2.3.0 start:
sh run-start.sh
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:920:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid magicmirror@2.3.0
16 verbose cwd /home/pi/MagicMirror
17 error Linux 4.4.43-v7+
18 error argv “/usr/bin/node” “/usr/bin/npm” “start”
19 error node v6.12.3
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error magicmirror@2.3.0 start:sh run-start.sh
22 error Exit status 1
23 error Failed at the magicmirror@2.3.0 start script ‘sh run-start.sh’.Any help would be appreciated.
Harry -
I returned from a copied img from my sd card to an older version and only did
git pulldidn’t do the
npm installat least now it works again
-
strange I’m not seeing a black screen.
Perhaps an issue with the auto start script? But I’m unsure.
Electron was updated in this release as well.
-
In most cases it’s because the port is still in use. First thing to try if it fails to start after an update: reboot the pi.
-
Power off & on restores VNC, and LAN access displaying MM. (Hurrah!).
Pi. Electron window is black, but shows cursor.
-
One more for blank screen, no joy after update per the instructions. Restarted MM using pm2, then rebooted the Pi. Ran the git reset --hard command, still nothing.
-
for me it worked without problems as follows
pm2 stop mmthen
git pull && npm installand then
pm2 restart mmmaybe it works for one or the other
-
@NoNameRo Intuition tells me I should have stopped the service before applying the update, but unfortunately the instructions do not…
-
I do not know if it is absolutely necessary to stop the service, for me it was obvious to do it
-
Perhaps try stopping all instances of electron and node.
Stop pm2
Then try the install again.
Reboot the Pi.
-
Could everyone state what version of node you are running? (And if it works or not).
-
@MichMich said in So ... to update MagicMirror I would ... ??:
Could everyone state what version of node you are running? (And if it works or not).
Mine is v6.12.3
Not working… -
Node version = v6.9.5
-
v6.12.3
Not workingbtw that command if anyone else needs to look it up is just
$ node -v -
I am on v6.12.3
And not working when I update npm install
-
@chef said in So ... to update MagicMirror I would ... ??:
Perhaps try stopping all instances of electron and node.
Stop pm2
Then try the install again.
Reboot the Pi.
Tried this, same result. Blank mirror although pm2 reports it is online.
-
Working on node version 6.13.1
I think I can see where this is going… The blank screen is the mirror running, but there could be an issue with loading the page data? …
-
@Cyberwrights said in So ... to update MagicMirror I would ... ??:
v6.12.3
Not workingbtw that command if anyone else needs to look it up is just
$ node -v@Cyberwrights thanks for that … I just used ‘dpkg -l | grep ii | less’, and that took forever to find node … lol
-
My first thought there is an issue with electron. Looking into it.
-
Could someone try the following in the MagicMirror folder:
npm install electron@1.4.15If this works, please state your Node version as well. (
node -v)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login