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.

    MMM-Button dont load

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 2.4k 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.
    • S Offline
      schmucke
      last edited by

      Hey,

      if i try to use the MMM-Button module i just get this error:

      0|mm       | App threw an error during load
      0|mm       | Error: Module version mismatch. Expected 50, got 49.
      0|mm       |     at Error (native)
      0|mm       |     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Object.Module._extensions..node (module.js:583:18)
      0|mm       |     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-Button/node_modules/bindings/bindings.js:76:44)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | Error: Module version mismatch. Expected 50, got 49.
      0|mm       |     at Error (native)
      0|mm       |     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Object.Module._extensions..node (module.js:583:18)
      0|mm       |     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-Button/node_modules/bindings/bindings.js:76:44)
      
      

      i have install the module right…
      has anyone a idea?

      Thank you

      johnnyboyJ 1 Reply Last reply Reply Quote 0
      • johnnyboyJ Offline
        johnnyboy @schmucke
        last edited by

        @schmucke

        I`m not sure here… but where it says "expected 50, got 49… 1 is missing eh?

        1 Reply Last reply Reply Quote 0
        • S Offline
          schmucke
          last edited by

          yes, but what is missing? i dont understand it :/

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by yawns

            please run npm list, which electron version are you running?

            If it is 1.4 then please run this command in the MMM-Button folder

            npm rebuild --runtime=electron --target=1.4.0 --disturl=https://atom.io/download/atom-shell --build-from-source

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              schmucke @yawns
              last edited by

              @yawns thank you, now the module starts.

              thank you very much

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • 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