• 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.

MMM-Button dont load

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 2.0k 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 Mar 15, 2017, 8:49 PM

    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

    J 1 Reply Last reply Mar 15, 2017, 8:56 PM Reply Quote 0
    • J Offline
      johnnyboy @schmucke
      last edited by Mar 15, 2017, 8:56 PM

      @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 Mar 15, 2017, 9:00 PM

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

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by yawns Mar 15, 2017, 9:04 PM Mar 15, 2017, 9:04 PM

          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 Mar 15, 2017, 9:15 PM Reply Quote 1
          • S Offline
            schmucke @yawns
            last edited by Mar 15, 2017, 9:15 PM

            @yawns thank you, now the module starts.

            thank you very much

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