• 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 white screen

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 9 Posters 15.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.
  • S Offline
    shgmongohh @strawberry 3.141
    last edited by shgmongohh Jul 28, 2016, 7:12 PM Jul 28, 2016, 7:05 PM

    @strawberry-3.141
    I checked the double checked the spelling. Everthing is correct.
    The screen stays white…

    I tried node serveronly

    pi@raspberrypi:~/MagicMirror $ node serveronly
    Loading config …
    Loading module helpers …
    No helper found for module: alert.
    No helper found for module: clock.
    Initializing new module helper …
    WARNING! Could not find config. Please create one.
    Loading module helpers …
    No helper found for module: alert.
    No helper found for module: clock.
    Initializing new module helper …
    Whoops! There was an uncaught exception…
    { Error: Cannot find module ‘onoff’
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object. (/home/pi/MagicMirror/modules/MMM-Button/node_helper.j s:10:14)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions…js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3) code: ‘MODULE_NOT_FOUND’ }
    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

    1 Reply Last reply Reply Quote 0
    • S Offline
      shgmongohh
      last edited by Jul 28, 2016, 7:40 PM

      Solved the problem…

      I hat forgotten to install onoff (pi@raspberrypi:~/MagicMirror $ npm install onoff
      )

      1 Reply Last reply Reply Quote 0
      • K Offline
        KirAsh4 Moderator
        last edited by Jul 28, 2016, 8:06 PM

        That tells me you didn’t read the instructions, because step 2, under Installation, it specifically says to run 'npm install' which would’ve taken care of installing onoff for you. I find it helps when I follow the author’s instructions.

        https://github.com/PtrBld/MMM-Button#installation

        A Life? Cool! Where can I download one of those from?

        S 1 Reply Last reply Jul 29, 2016, 5:24 AM Reply Quote 0
        • S Offline
          shgmongohh @KirAsh4
          last edited by Jul 29, 2016, 5:24 AM

          @KirAsh4

          I read the instruction and I executed the nmp install in the MagicMirror folder and thought that onoff would be installed automaticly.
          But I had to execute npm install onoff extra in the MagicMirror folder to get the module run.

          Maybe there should a step 3, that tells you to execute npm install onoff .

          Sebastian

          1 Reply Last reply Reply Quote 0
          • K Offline
            KirAsh4 Moderator
            last edited by Jul 29, 2016, 5:35 AM

            No, the instructions, as written, are accurate. You missed the last bit of Step 1:

            1. Navigate into your MagicMirror’s modules folder and execute git clone https://github.com/ptrbld/MMM-Button.git.**`A new folder will appear navigate into it.`**
            2. Execute npm install to install the node dependencies.

            Had you done that last bit, you would be executing the next step from within the button module folder, not within the MagicMirror folder.

            A Life? Cool! Where can I download one of those from?

            S 1 Reply Last reply Jul 29, 2016, 10:24 AM Reply Quote 1
            • S Offline
              shgmongohh @KirAsh4
              last edited by Jul 29, 2016, 10:24 AM

              @KirAsh4
              Ahhh, okay, that´s an explanation why I have sometimes problems with some modules.

              Thank you.

              1 Reply Last reply Reply Quote 0
              • K Offline
                KirAsh4 Moderator
                last edited by Jul 29, 2016, 4:10 PM

                It can be a confusing, sometimes damn near frustrating landscape to maneuver. Glad you got it to work though.

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  schubi
                  last edited by schubi Nov 15, 2016, 5:43 PM Nov 15, 2016, 5:42 PM

                  Hello, i have the same problem. I also get a white-screen. My error-log:

                  $ tail -f /home/pi/.pm2/logs/mm-error-0.log

                  at Error (native)
                  at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:178:20)
                  at Object.Module._extensions..node (module.js:583:18)
                  at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:178: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-Button/node_modules/bindings/bindings.js:76:44)
                  

                  Any Ideas? Thanks!
                  I’ve done everything which was postet in this topic…

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dicker182
                    last edited by Nov 15, 2016, 10:24 PM

                    I have the same problem. Also did everything from this thread.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Babene1 Project Sponsor
                      last edited by Jan 5, 2017, 5:54 PM

                      i have the same problem.

                      N 1 Reply Last reply Jan 5, 2017, 6:04 PM 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