Read the statement by Michael Teeuw here.
new update/upgrade script, ready for testing
-
@sdetweil said in new update/upgrade script, ready for testing:
weird… the package.json says
Which exact package.json would that be?
Perhaps mine tells to use 3.1.13?Although:
pi@raspberrypi:~ $ grep electron ~/MagicMirror/package.json "main": "js/electron.js", "electron": "^3.0.13"
-
@evroom ah, it say CLOSE TO 3.0.13 (the hat char), not exactly 3.0.13
so, do the manual step
npm install electron@3.0.13
-
~version “Approximately equivalent to version”, will update you to the next patch version.
^version Will update you to the next minor version.
version Will update you to the exact given version.
-
@sdetweil
Sam, shall I update my ~/MagicMirror/package.json file and try again?Edit:
Just did.
It says I am on 2.10.0 already, even though it was interrupted on the electro download.How can I force the upgrade or make it believe 2.9.0 is still active?
In the package.json file?Edit 2:
Changed from 2.10.0 to 2.9.0 and now it is running. -
-
@sdetweil said in new update/upgrade script, ready for testing:
@surger13 ok, looks like we have to fight the manual way
do
cd ~/MagicMirror git stash git merge npm install
took the manual way too because of the same probs. Now my Pi is downloading the electron v3.1.13 version with 3.01 kB/s. can I stop the installation process to update electron manually?
-
@ChrizZz I do not know
-
@sdetweil said in new update/upgrade script, ready for testing:
@surger13 ok, looks like we have to fight the manual way
do
cd ~/MagicMirror git stash git merge npm install
the fight was an easy one. everything worked. just had to restore the custom.css from a backup.
thanks again Sam -
@ChrizZz said in new update/upgrade script, ready for testing:
Now my Pi is downloading the electron v3.1.13 version with 3.01 kB/s.
It looks like github has problems. I also cannot download other stuff from it with proper speed or without running into a timeout. Perhaps local or depends on your ISP region.
-
@evroom said in new update/upgrade script, ready for testing:
@ChrizZz said in new update/upgrade script, ready for testing:
Now my Pi is downloading the electron v3.1.13 version with 3.01 kB/s.
It looks like github has problems. I also cannot download other stuff from it with proper speed or without running into a timeout. Perhaps local or depends on your ISP region.
I started installing electron in a new terminal session and it is downloading now with 16 kB/s. Maybe a stupid decission, maybe not.
Current status: 45% downloaded in the new terminal session, 18.5% downloaded as part of the MM update.
//edit: I stopped the inital installation, downloaded the right electron file from a mirror and placed the zip file in the /home/pi/.cache/electron folder. After that I updated electron manually. It worked well and after that I started npm install of the new MM version again. Now everything is updated without waiting years to download the zip from Github.