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.

    Mirror not starting after update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    33 Posts 4 Posters 4.4k Views 4 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.
    • S Do not disturb
      sdetweil @chrisfr1976
      last edited by sdetweil

      @chrisfr1976

      Error: Cannot find module ‘logger’

      you have to do
      npm run install-mm ( in the MagicMirror folder)
      after updating nodejs

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S X 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @sdetweil
        last edited by

        @chrisfr1976 I have just updated the upgrade script to check for node V21 and if found, upgrade to 22.9

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil I did the npm run install-mm already. Still the same error.
          I have a copy of my SD Card. I could start from last version again only with the update script. Maybe this helps.

          Chris.

          Regards, Chris.

          S 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @chrisfr1976
            last edited by sdetweil

            @chrisfr1976 its been reported that the upgrade script doesn’t restore the installers/MagicMirror.sh we took out of the MagicMirror repo and put in my repo

            pm2 info 0
            

            will list out the details of the managed app. it will list the program started

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S C 2 Replies Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @sdetweil
              last edited by

              I have fixed the upgrade script to save/restore the installers folder and mm.sh

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil
                how can I update nodejs?

                I have:
                nodejs -v
                v18.19.0
                and
                node -v
                v20.9.0

                npm install nodejs@latest
                does not change my nodejs version.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @xIExodusIx
                  last edited by

                  @xIExodusIx what OS are you on?

                  lsb_release -a
                  and
                  uname -a
                  will show

                  did you use my upgrade script? it will upgrade node too

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  X 2 Replies Last reply Reply Quote 0
                  • X Offline
                    xIExodusIx @sdetweil
                    last edited by

                    @sdetweil

                    Raspberry Pi 4
                    OS = bookworm 64bit

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @xIExodusIx
                      last edited by sdetweil

                      @xIExodusIx did you use my upgrade script?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @chrisfr1976
                        last edited by

                        @chrisfr1976 can you show me the output of thew npm run install-mm

                        do it this way (from the MM folder of course)

                        cd ~/MagicMirror
                        npm run install-mm >somefile.txt 2>&1
                        

                        then when it finishes all the output is in somefile.txt

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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