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

Black screen after 2.13 update - tentatively resolved

Scheduled Pinned Locked Moved Troubleshooting
53 Posts 9 Posters 12.4k 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 Oct 2, 2020, 11:23 PM Oct 2, 2020, 11:23 PM

    @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

    S 1 Reply Last reply Oct 2, 2020, 11:25 PM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor @sdetweil
      last edited by Oct 2, 2020, 11:25 PM

      @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 Oct 2, 2020, 11:26 PM Reply Quote 0
      • S Offline
        sdetweil @swvalenti
        last edited by Oct 2, 2020, 11:26 PM

        @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
        • S Offline
          swvalenti Project Sponsor
          last edited by Oct 2, 2020, 11:35 PM

          That gave me a black screen

          S 1 Reply Last reply Oct 2, 2020, 11:43 PM Reply Quote 0
          • S Offline
            sdetweil @swvalenti
            last edited by Oct 2, 2020, 11:43 PM

            @swvalenti

            //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
            • S Offline
              swvalenti Project Sponsor
              last edited by Oct 2, 2020, 11:46 PM

              Correct, only pokemon had 2.1.0 I didnt see 2.1.0 in darksky just 2.2.0

              S 1 Reply Last reply Oct 2, 2020, 11:53 PM Reply Quote 0
              • S Offline
                sdetweil @swvalenti
                last edited by Oct 2, 2020, 11:53 PM

                @swvalenti and u commented it out in darksky, yes?

                show errors

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  swvalenti Project Sponsor
                  last edited by Oct 2, 2020, 11:57 PM

                  Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-YvJxUhUeeIN7m4Y4YEc1FVS+YDCNVK6VsHIHx5z29EE='), or a nonce ('nonce-...') is required to enable inline execution.
                  main.js:487 Initializing MagicMirror.
                  translator.js:129 Loading core translation file: translations/en.json
                  translator.js:154 Loading core translation fallback file: translations/en.json
                  loader.js:176 Load script: modules/default/alert//alert.js
                  module.js:513 Module registered: alert
                  loader.js:148 Bootstrapping module: alert
                  loader.js:176 Load script: modules/default/alert/notificationFx.js
                  loader.js:153 Scripts loaded for: alert
                  loader.js:195 Load stylesheet: modules/default/alert/notificationFx.css
                  loader.js:195 Load stylesheet: vendor/css/font-awesome.css
                  loader.js:155 Styles loaded for: alert
                  translator.js:102 alert - Load translation fallback: translations/en.json
                  /home/pi/MagicMirror…rity-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
                    protocols.This exposes users of this app to unnecessary security risks.
                    Consider loading the following resources over HTTPS or FTPS. 
                   - http://0.0.0.0:8080/css/main.css
                  - http://0.0.0.0:8080/fonts/roboto.css
                  - http://0.0.0.0:8080/socket.io/socket.io.js
                  - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
                  - http://0.0.0.0:8080/js/defaults.js
                  - http://0.0.0.0:8080/config/config.js
                  - http://0.0.0.0:8080/vendor/vendor.js
                  - http://0.0.0.0:8080/modules/default/defaultmodules.js
                  - http://0.0.0.0:8080/js/logger.js
                  - http://0.0.0.0:8080/translations/translations.js
                  - http://0.0.0.0:8080/js/translator.js
                  - http://0.0.0.0:8080/js/class.js
                  - http://0.0.0.0:8080/js/module.js
                  - http://0.0.0.0:8080/js/loader.js
                  - http://0.0.0.0:8080/js/socketclient.js
                  - http://0.0.0.0:8080/js/main.js
                  - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
                  - http://0.0.0.0:8080/translations/en.json
                  - http://0.0.0.0:8080/translations/en.json
                  - http://0.0.0.0:8080/modules/default/alert//alert.js
                  - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
                  - http://0.0.0.0:8080/modules/default/alert/notificationFx.css
                  - http://0.0.0.0:8080/vendor/css/font-awesome.css
                  - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
                  - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
                    
                   
                  For more information and help, consult
                  https://electronjs.org/docs/tutorial/security.
                   This warning will not show up
                  once the app is packaged.
                  loader.js:157 Translations loaded for: alert
                  
                  
                  0.0.0.0/:4 Uncaught SyntaxError: Unexpected token / in JSON at position 44
                      at JSON.parse (<anonymous>)
                      at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
                  
                  S 1 Reply Last reply Oct 3, 2020, 12:12 AM Reply Quote 0
                  • S Offline
                    sdetweil @swvalenti
                    last edited by Oct 3, 2020, 12:12 AM

                    @swvalenti let me work on it. is that a pi0 perhaps, running chrome instead of electron?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      swvalenti Project Sponsor
                      last edited by Oct 3, 2020, 12:15 AM

                      No sir it is a pi3b+ running buster

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