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.

    MM failed after updating

    Scheduled Pinned Locked Moved Solved Troubleshooting
    16 Posts 3 Posters 2.1k Views 3 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.
    • 1 Offline
      1a2a3a
      last edited by

      Hi, after updating my MM, when i try to start i get this error.

      node_modules/.bin/electron: not found"

      what should i do?

      S 1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfr1976 @sdetweil
        last edited by

        @sdetweil I was able to fix it. git reset --hard followed by npm run install-mm fixed the issue. I don’t know why but now everything is fine again. I’ll do a SD-card back-up now :-)

        Regards, Chris.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @1a2a3a
          last edited by

          @1a2a3a please tell me how you updated and what.platform you are on

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 1 Reply Last reply Reply Quote 0
          • 1 Offline
            1a2a3a @sdetweil
            last edited by

            @sdetweil on pi 5. updated using your script. while attempting to google search for fixes, i seems to have broken more stuff. trying to rebuild again from scratch…using your script… to update again…

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @1a2a3a
              last edited by

              @1a2a3a can you show me the ~/MagicMirror/installers/upgrade.log

              in the future ask for help first, vs apply random answers.

              you could have just tried installing the electon version.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 1 Reply Last reply Reply Quote 0
              • 1 Offline
                1a2a3a @sdetweil
                last edited by

                @sdetweil i cant. i deleted the entire folder. just installed using your script. now transferring the modules folder from backup to the pi.

                thats what i did actually, installing the electron but it keep throwing error like npm ERR! signal sigint
                npm ERR! code E404

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @1a2a3a
                  last edited by

                  @1a2a3a thanks. i needed to see the actual npm install output

                  use my backup/restore scripts

                  https://github.com/sdetweil/MagicMirror-backup-restore

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1a2a3a @sdetweil
                    last edited by

                    @sdetweil thanks. still in the midst of transferring.

                    why are you up so early? i recall you were some hours behind so when i posted this i figured i wouldnt get a response so soon hence my attempt of own answer.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @1a2a3a
                      last edited by

                      @1a2a3a i was on US west coast time for a couple months now back in central time. thanks for noticing…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        1a2a3a @sdetweil
                        last edited by 1a2a3a

                        @sdetweil i see. anyway, my calendar, stocks and google photo are not loading. it says check logs for details – where can i find the logs again?

                        edit—

                        its odd. when i run npm start dev, everything is working fine, everything loads.

                        but when i run pm2 start MagicMirror - my cal, stocks and photos are not loading. am i suppose to let it sit there for awhile?

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @1a2a3a
                          last edited by

                          @1a2a3a logs are output where the npm start is done.

                          pm2 captures them
                          do this

                          pm2 stop all
                          pm2 flush
                          pm2 start MagicMirror

                          wait 15 seconds

                          pm2 stop all
                          pm2 logs --lines=75

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          C 1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • 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