MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    So ... to update MagicMirror I would ... ??

    Scheduled Pinned Locked Moved Troubleshooting
    54 Posts 12 Posters 41.2k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MichMichM Offline
      MichMich Admin
      last edited by

      Could someone try the following in the MagicMirror folder:

      npm install electron@1.4.15
      

      If this works, please state your Node version as well. (node -v)

      H 1 Reply Last reply Reply Quote 0
      • H Offline
        Harry @MichMich
        last edited by Harry

        @MichMich said in So ... to update MagicMirror I would ... ??:

        npm install electron@1.4.15

        pi@ham-raspi:~/MagicMirror $ npm install electron@1.4.15

        electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron
        node install.js

        • @types/node@8.10.1 node_modules/@types/node
          magicmirror@2.3.0 /home/pi/MagicMirror
          └── electron@1.4.15 invalid

        Node v6.12.3

        1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich Admin
          last edited by

          Uhhmm… thats odd. It’s just a command to downgrade electron.

          1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin
            last edited by

            It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
            https://github.com/MichMich/MagicMirror/issues/1243

            Could you reboot and try again @harry?

            H C 2 Replies Last reply Reply Quote 1
            • H Offline
              Harry @MichMich
              last edited by

              @MichMich said in So ... to update MagicMirror I would ... ??:

              It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
              https://github.com/MichMich/MagicMirror/issues/1243

              Could you reboot and try again @harry?

              Yep. Reboot helped.
              Rebooted, stopped MagicMirror and then the downgrade worked.
              MagicMirror is up and running again!

              Thanks a lot!

              1 Reply Last reply Reply Quote 0
              • C Offline
                chef @MichMich
                last edited by

                @MichMich well-done.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Montanaro
                  last edited by

                  Solution in this thread https://github.com/MichMich/MagicMirror/issues/1243

                  in MagicMirror Folder

                  npm install electron@1.4.15
                  
                  1 Reply Last reply Reply Quote 1
                  • E Offline
                    E3V3A @NoNameRo
                    last edited by

                    @NoNameRo

                    You guys should probaly do pm2 stop mm; pm2 kill to make sure it’s not running in the background.

                    Also, AFAIK, I think if you do git reset --hard you’d loose all your old config settings and other changes you’ve made?

                    "Everything I do (here) is for free – altruism is the way!"
                    MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                    MichMichM 1 Reply Last reply Reply Quote 1
                    • MichMichM Offline
                      MichMich Admin @E3V3A
                      last edited by

                      @E3V3A The Config & Modules folder are not part of the Git repro. All other changes are overwritten.

                      1 Reply Last reply Reply Quote 2
                      • MichMichM Offline
                        MichMich Admin
                        last edited by

                        I’ve released an update: https://github.com/MichMich/MagicMirror/releases/tag/v2.3.1

                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 4 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy