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 2.13 update - tentatively resolved

    Scheduled Pinned Locked Moved Troubleshooting
    53 Posts 9 Posters 16.3k Views 9 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 @swvalenti
      last edited by sdetweil

      @swvalenti said in Black screen after 2.13 update - tentatively resolved:

      Electron Security Warning (Insecure Content-Security-Policy)

      hm…

      try this

      edit ~/MagicMirror/index.html

      < head>
      	< title>MagicMirror²< /title>
      	< meta name="google" content="notranslate" />
      	< meta http-equiv="Content-type" content="text/html; charset=utf-8" />
      
      	< meta name="apple-mobile-web-app-capable" content="yes">
      	< meta name="apple-mobile-web-app-status-bar-style" content="black">
      	< meta name="format-detection" content="telephone=no">
      	< meta name="mobile-web-app-capable" content="yes">
      	< meta http-equiv="Content-Security-Policy" content="script-src 'self';"> < ---- insert this line without the space after < 
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • swvalentiS Offline
        swvalenti Project Sponsor
        last edited by

        Sam, that worked thank you very much!

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

          @swvalenti i wonder why YOU see it and no one else does…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor
            last edited by

            I have no clue on that as all my units run the same hardware and OS

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

              @swvalenti I opened issue https://github.com/MichMich/MagicMirror/issues/2147 to track this

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • swvalentiS Offline
                swvalenti Project Sponsor
                last edited by

                Same unit that give me earlier issue does not load darksky or pokemon…my kids monitor…lol…other mirrors run darksky with no problem.

                Scripts loaded for: MMM-EARTH
                loader.js:195 Load stylesheet: modules/MMM-EARTH/MMM-EARTH.css
                loader.js:155 Styles loaded for: MMM-EARTH
                loader.js:157 Translations loaded for: MMM-EARTH
                loader.js:176 Load script: modules/MMM-DarkSkyForecast//MMM-DarkSkyForecast.js
                module.js:505 Check MagicMirror version for module 'MMM-DarkSkyForecast' - Minimum version:  2.2.0 - Current version: undefined
                module.js:528 Uncaught TypeError: Cannot read property 'replace' of undefined
                    at cmpVersions (module.js:528)
                    at Function.Module.register (module.js:506)
                    at MMM-DarkSkyForecast.js:41
                loader.js:176 Load script: modules/MMM-DailyPokemon//MMM-DailyPokemon.js
                module.js:505 Check MagicMirror version for module 'MMM-DailyPokemon' - Minimum version:  2.1.0 - Current version: undefined
                module.js:528 Uncaught TypeError: Cannot read property 'replace' of undefined
                    at cmpVersions (module.js:528)
                    at Function.Module.register (module.js:506)
                    at MMM-DailyPokemon.js:10
                loader.js:176 Load script: modules/MMM-EventHorizon//MMM-EventHorizon.js
                module.js:513 Module registered: MMM-EventHorizon
                loader.js:148 Bootstrapping module: MMM-EventHorizon
                loader.js:153 Scripts loaded for: MMM-EventHorizon
                loader.js:195 Load stylesheet: modules/MMM-EventHorizon/MMM-EventHorizon.css
                loader.js:155 Styles loaded for: MMM-EventHorizon
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @swvalenti
                  last edited by sdetweil

                  @swvalenti weird. this is 2.13 now?

                  grep version ~/MagicMirror/package.json

                  can’t believe the version check would fail

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  swvalentiS 1 Reply Last reply Reply Quote 0
                  • swvalentiS Offline
                    swvalenti Project Sponsor @sdetweil
                    last edited by

                    @sdetweil Yes sir 2.13

                    Last login: Fri Oct  2 17:10:33 2020
                    pi@raspberrypi:~ $ grep version ~/MagicMirror/package.json
                            "version": "2.13.0",
                    pi@raspberrypi:~ $
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @swvalenti
                      last edited by

                      @swvalenti edit the modulename.js for each

                      comment out (leading //)

                      requiresVersion: “2.1.0”,

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • swvalentiS Offline
                        swvalenti Project Sponsor
                        last edited by

                        That gave me a black screen

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