MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Button dont load

    Troubleshooting
    3
    5
    1628
    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
      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

      johnnyboy 1 Reply Last reply Reply Quote 0
      • johnnyboy
        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
          schmucke last edited by

          yes, but what is missing? i dont understand it 😕

          1 Reply Last reply Reply Quote 0
          • yawns
            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
              schmucke @yawns last edited by

              @yawns thank you, now the module starts.

              thank you very much

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy