MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED"

    Troubleshooting
    2
    25
    215
    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.
    • O
      onis_uk last edited by

      HI just updated my MM and now I cant see it!

      Any ideas on how to troubleshoot?

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

        @onis_uk how did u update?

        Sam

        Create a working config
        How to add modules

        O 1 Reply Last reply Reply Quote 0
        • O
          onis_uk @sdetweil last edited by

          @sdetweil SSH’ed to the MM folder then ran git pull && npm install…

          Did I screw up my install?

          O 1 Reply Last reply Reply Quote 0
          • O
            onis_uk @onis_uk last edited by

            @onis_uk anyone…?

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

              @onis_uk probably this

              https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • O
                onis_uk last edited by

                @sdetweil no it’s not that… I get a white browser screen that is saying it can’t connect to the page!

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

                  @onis_uk so, tell me more… what pi? sounds like pi 0?

                  if using pm2, then

                  pm2 stop all
                  pm2 flush
                  cd ~/MagicMirror
                  npm run config:check 
                  

                  Sam

                  Create a working config
                  How to add modules

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    onis_uk @sdetweil last edited by

                    @sdetweil said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":

                    npm run config:check

                    yes running in a Pi zero!

                    magicmirror@2.18.0 config:check /home/pi/MagicMirror
                    node js/check_config.js

                    /home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359
                    const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript && document.currentScript.src || new URL(‘eslintrc.cjs’, document.baseURI).href)));
                    ^

                    TypeError: Module.createRequire is not a function
                    at Object. (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359:26)
                    at Module._compile (internal/modules/cjs/loader.js:816:30)
                    at Object.Module._extensions…js (internal/modules/cjs/loader.js:827:10)
                    at Module.load (internal/modules/cjs/loader.js:685:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:620:12)
                    at Module.require (internal/modules/cjs/loader.js:723:19)
                    at require (internal/modules/cjs/helpers.js:14:16)
                    at Object. (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
                    at Module._compile (internal/modules/cjs/loader.js:816:30)
                    at Object.Module._extensions…js (internal/modules/cjs/loader.js:827:10)
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! magicmirror@2.18.0 config:check: node js/check_config.js
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the magicmirror@2.18.0 config:check script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                    npm ERR! A complete log of this run can be found in:
                    npm ERR! /home/pi/.npm/_logs/2022-01-17T13_53_04_242Z-debug.log

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

                      @onis_uk said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":

                      const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript &&

                      see https://github.com/MichMich/MagicMirror/issues/2772

                      Sam

                      Create a working config
                      How to add modules

                      O 2 Replies Last reply Reply Quote 0
                      • O
                        onis_uk @sdetweil last edited by

                        @sdetweil said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":

                        @onis_uk said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":

                        const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript &&

                        see https://github.com/MichMich/MagicMirror/issues/2772

                        ok thanks! looks like I only had version 11.14 installed, just updating now

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy