• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 1.6k 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 Apr 2, 2024, 11:48 AM

    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 Apr 2, 2024, 12:13 PM Reply Quote 0
    • C Offline
      chrisfr1976 @sdetweil
      last edited by Apr 3, 2024, 1:34 PM

      @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 Apr 3, 2024, 9:07 PM Reply Quote 0
      • S Away
        sdetweil @1a2a3a
        last edited by Apr 2, 2024, 12:13 PM

        @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 Apr 2, 2024, 12:24 PM Reply Quote 0
        • 1 Offline
          1a2a3a @sdetweil
          last edited by Apr 2, 2024, 12:24 PM

          @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 Apr 2, 2024, 12:31 PM Reply Quote 0
          • S Away
            sdetweil @1a2a3a
            last edited by Apr 2, 2024, 12:31 PM

            @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 Apr 2, 2024, 12:33 PM Reply Quote 0
            • 1 Offline
              1a2a3a @sdetweil
              last edited by Apr 2, 2024, 12:33 PM

              @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 Apr 2, 2024, 12:39 PM Reply Quote 0
              • S Away
                sdetweil @1a2a3a
                last edited by Apr 2, 2024, 12:39 PM

                @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 Apr 2, 2024, 12:42 PM Reply Quote 0
                • 1 Offline
                  1a2a3a @sdetweil
                  last edited by Apr 2, 2024, 12:42 PM

                  @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 Apr 2, 2024, 1:01 PM Reply Quote 0
                  • S Away
                    sdetweil @1a2a3a
                    last edited by Apr 2, 2024, 1:01 PM

                    @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 Apr 2, 2024, 1:09 PM Reply Quote 0
                    • 1 Offline
                      1a2a3a @sdetweil
                      last edited by 1a2a3a Apr 2, 2024, 1:19 PM Apr 2, 2024, 1:09 PM

                      @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 Apr 2, 2024, 1:29 PM Reply Quote 0
                      • S Away
                        sdetweil @1a2a3a
                        last edited by Apr 2, 2024, 1:29 PM

                        @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 Apr 3, 2024, 8:27 AM Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        1 / 2
                        • First post
                          9/16
                          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