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 not starting after update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 3 Posters 4.1k 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.
    • J Offline
      jani.karna
      last edited by

      I updated my MagicMirror to latest version, and now it does not start.

      pm2 logs mm
      

      shows this:

      0|mm  | A JavaScript error occurred in the main process
      0|mm  | Uncaught Exception:
      0|mm  | Error: Cannot find module 'module-alias/register'
      0|mm  |     at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      0|mm  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|mm  |     at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      0|mm  |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|mm  |     at require (internal/modules/cjs/helpers.js:20:18)
      0|mm  |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:1)
      0|mm  |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:283:3)
      0|mm  |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|mm  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|mm  |     at Module.load (internal/modules/cjs/loader.js:620:32)
      
      

      I had a feeling I shouldn’t do this, but I did anyway. How to fix it?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jani.karna
        last edited by

        @jani-karna how did u update?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • D Offline
          dicker182
          last edited by

          same here, I just did an

          git stash
          git pull

          in the Magicmirrir directory

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

            @dicker182 also need npm install

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil thats it. Thank you!

              1 Reply Last reply Reply Quote 0
              • J Offline
                jani.karna
                last edited by

                npm install helped me also. Thank you!

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @jani.karna
                  last edited by

                  @jani-karna thanks, can u tell me where u got the update instructions?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jani.karna @sdetweil
                    last edited by

                    @sdetweil
                    from here:

                    https://github.com/MichMich/MagicMirror#updating-you-magicmirror
                    

                    and followed the instructions in “updating”-section. I first did the “test” update and then after no problems used the “apply” as instructed there.
                    It didn’t mention “npm install” there.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @jani.karna
                      last edited by

                      @jani-karna ok, the script WOULD have done the update, but it failed…

                      can u send me the MagicMirror/installers/upgrade.log?

                      same id as here on gmail…

                      thanks

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 2 Replies Last reply Reply Quote 0
                      • J Offline
                        jani.karna @sdetweil
                        last edited by

                        @sdetweil should be on its way now.

                        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