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

Update Error of v.2.2.0 :(

Scheduled Pinned Locked Moved Troubleshooting
21 Posts 11 Posters 18.3k Views 8 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.
  • B Offline
    bhepler Module Developer @fox
    last edited by bhepler Jan 2, 2018, 7:14 PM Jan 2, 2018, 7:09 PM

    @fox Did you try reinstalling electron via the instructions given? ie, delete /home/pi/MagicMirror/node_modules/electron and reinstalling?

    This should be close:

    cd /home/pi/MagicMirror/node_modules
    sudo rm -rf electron
    cd ..
    npm install electron@1.4.15
    

    After that, I suspect a npm install and then npm start.

    F O F 3 Replies Last reply Jan 2, 2018, 7:16 PM Reply Quote 1
    • F Offline
      fox @bhepler
      last edited by fox Jan 2, 2018, 7:34 PM Jan 2, 2018, 7:16 PM

      @bhepler
      thank you for your reply.
      Everything worked until the last command.
      Then i got

      pi@magicpi:~/MagicMirror $ npm build && npm start
      
      > magicmirror@2.2.2 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.2.2
      Loading config ...
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: MMM-cryptocurrency
      Initializing new module helper ...
      Module helper loaded: MMM-Wunderlist
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: MMM-ModuleScheduler
      WARNING! Could not load config file. Starting with default configuration. Error                                                                                                                      found: Error: Module version mismatch. Expected 50, got 54.
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: MMM-cryptocurrency
      Initializing new module helper ...
      Module helper loaded: MMM-Wunderlist
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: MMM-ModuleScheduler
      App threw an error during load
      Error: Module version mismatch. Expected 50, got 54.
          at Error (native)
          at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
          at Object.Module._extensions..node (module.js:583:18)
          at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
          at Function.Module._load (module.js:424:3)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                                                                                                     gs/bindings.js:76:44)
      Whoops! There was an uncaught exception...
      Error: Module version mismatch. Expected 50, got 54.
          at Error (native)
          at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
          at Object.Module._extensions..node (module.js:583:18)
          at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
          at Function.Module._load (module.js:424:3)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                                                                                                     gs/bindings.js:76:44)
      MagicMirror will not quit, but it might be a good idea to check why this happene                                                                                                                     d. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://gi                                                                                                                     thub.com/MichMich/MagicMirror/issues
      Launching application.
      
      

      But it does not start.

      I did also

      pi@magicpi:~/MagicMirror $ npm list | grep electron
      ├─┬ electron@1.4.15
      │ ├─┬ electron-download@3.3.0
      │ ├─┬ electron-chromedriver@1.7.1
      │ │ └─┬ electron-download@4.1.0
      │ │ │ └─┬ electron-to-chromium@1.3.30
      │ │ │   └── electron-releases@2.1.0
      pi@magicpi:~/MagicMirror $ npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50
      

      Issues With MMM-WatchDog known?

      https://forum.magicmirror.builders/post/29827

      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer
        last edited by Jan 2, 2018, 7:34 PM

        This thread should help: https://forum.magicmirror.builders/post/7634

        F 1 Reply Last reply Jan 2, 2018, 8:44 PM Reply Quote 0
        • F Offline
          fox @bhepler
          last edited by Jan 2, 2018, 8:44 PM

          @bhepler
          I tried the commands of the thread it, but no effect… Any help ?

          Issues With MMM-WatchDog known?

          https://forum.magicmirror.builders/post/29827

          Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

          1 Reply Last reply Reply Quote 0
          • H Offline
            hoddog
            last edited by Jan 4, 2018, 7:01 AM

            Hi,

            Same problem here. After yesterday’s update (git hub && npm install) two modules (MMM-PIR and MMM-MyCommute) has wrong version (except 50, got 48). After launching screen is just black. I’ve tried to update electron (npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50)but nothing changed. How to start it?

            F F 2 Replies Last reply Jan 4, 2018, 10:07 AM Reply Quote 0
            • F Offline
              fox @hoddog
              last edited by Jan 4, 2018, 10:07 AM

              @hoddog Here is my result: https://forum.magicmirror.builders/post/33238

              Issues With MMM-WatchDog known?

              https://forum.magicmirror.builders/post/29827

              Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

              1 Reply Last reply Reply Quote 0
              • H Offline
                hoddog
                last edited by Jan 4, 2018, 12:57 PM

                Should I wait for new update or install everything from beginning?

                1 Reply Last reply Reply Quote 1
                • M Offline
                  MichMich Admin
                  last edited by Jan 4, 2018, 9:04 PM

                  What you could try:

                  • backup your module folder.
                  • backup your config file
                  • remove MagicMirror
                  • reinstall
                  • put modules & config back.
                  F P 2 Replies Last reply Jan 19, 2018, 5:42 PM Reply Quote 0
                  • H Offline
                    hoddog
                    last edited by Jan 6, 2018, 5:10 PM

                    So i’ve used solution from here:
                    https://forum.magicmirror.builders/topic/6045/black-screen-after-install-update-v2-2?page=1
                    For my not working modules.
                    And it works. Mirror started… Huuuh.
                    Thank you mr ryck!

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fonfon @hoddog
                      last edited by Jan 16, 2018, 7:21 PM

                      @hoddog said in Update Error of v.2.2.0 :(:

                      Hi,

                      Same problem here. After yesterday’s update (git hub && npm install) two modules (MMM-PIR and MMM-MyCommute) has wrong version (except 50, got 48). After launching screen is just black. I’ve tried to update electron (npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50)but nothing changed. How to start it?

                      Hi,

                      Same problem same modules
                      solution ?

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