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.

    Black screen after update 2.11 (electron)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    24 Posts 2 Posters 4.2k Views 2 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
      sdetweil @Blackmirror
      last edited by

      @Blackmirror can u show me the config.js section for MMM-Button?

      my code (dumpActiveModules.js) lists out the modules that are enabled…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Blackmirror @sdetweil
        last edited by

        @sdetweil

            {
             module: 'MMM-Buttons',
        //                        classes: 'default everyone',
             config: {
            minShortPressTime: 20,
            bounceTimeout: 10,
                     buttons: [
                     {
                     pin: 10,
                     name: "Radio",
                     longPress: {
                              notification: "CURRENT_PROFILE",
                            payload: "default"},
                     shortPress: {
                            notification: "CURRENT_PROFILE",
                            payload: "Radio"}},
                {
                    pin: 11,
                    name: "Tagesschau",
                    longPress: {
                      notification: "BUTTON_PRESSED",
                      payload: true
                    },
                   shortPress: {
                      notification: "BUTTON_PRESSED",
                      payload: true
                    }
                }
            ]
        }},
        
        

        But I think it have not update the MMM-Buttons because it was out comment.

        I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons module

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Blackmirror
          last edited by

          @Blackmirror said in Black screen after update 2.11 (electron):

          But I think it have not update the MMM-Buttons because it was out comment.
          I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons module

          ok, that explains it.

          lets try this

          cd ~/MagicMirror/modules
          mv MMM-Buttons MMM-Buttons.save
          git clone https://github.com/Jopyth/MMM-Buttons.git
          cd MMM-Buttons
          npm install
          

          it worked ok on my system

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 1
          • B Offline
            Blackmirror @sdetweil
            last edited by

            @sdetweil said in Black screen after update 2.11 (electron):

            mv MMM-Buttons MMM-Buttons.save
            git clone https://github.com/Jopyth/MMM-Buttons.git
            cd MMM-Buttons
            npm install

            Yes Thanks. It’s works.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Blackmirror
              last edited by

              @Blackmirror ok, I have fixed update to erase the old files (node_modules and package-lock.json) to force a different npm install

              weird

              thanks for your help and patience

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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