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

Scheduled Pinned Locked Moved Solved Troubleshooting
20 Posts 3 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.
  • J Offline
    jani.karna
    last edited by Jan 5, 2020, 7:33 AM

    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 Jan 5, 2020, 1:02 PM Reply Quote 0
    • S Offline
      sdetweil @jani.karna
      last edited by Jan 5, 2020, 1:02 PM

      @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 Jan 5, 2020, 7:22 PM

        same here, I just did an

        git stash
        git pull

        in the Magicmirrir directory

        S 1 Reply Last reply Jan 5, 2020, 9:46 PM Reply Quote 0
        • S Offline
          sdetweil @dicker182
          last edited by Jan 5, 2020, 9:46 PM

          @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 Jan 6, 2020, 11:37 AM Reply Quote 0
          • D Offline
            dicker182 @sdetweil
            last edited by Jan 6, 2020, 11:37 AM

            @sdetweil thats it. Thank you!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jani.karna
              last edited by Jan 6, 2020, 5:03 PM

              npm install helped me also. Thank you!

              S 1 Reply Last reply Jan 6, 2020, 5:07 PM Reply Quote 0
              • S Offline
                sdetweil @jani.karna
                last edited by Jan 6, 2020, 5:07 PM

                @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 Jan 6, 2020, 5:15 PM Reply Quote 0
                • J Offline
                  jani.karna @sdetweil
                  last edited by Jan 6, 2020, 5:15 PM

                  @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 Jan 6, 2020, 5:16 PM Reply Quote 0
                  • S Offline
                    sdetweil @jani.karna
                    last edited by Jan 6, 2020, 5:16 PM

                    @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 Jan 6, 2020, 5:21 PM Reply Quote 0
                    • J Offline
                      jani.karna @sdetweil
                      last edited by Jan 6, 2020, 5:21 PM

                      @sdetweil should be on its way now.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/20
                        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