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.

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

    Scheduled Pinned Locked Moved Solved Troubleshooting
    25 Posts 2 Posters 6.3k 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 Do not disturb
      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

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        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 Do not disturb
          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

          How to add modules

          learning how to use browser developers window for css changes

          O 2 Replies Last reply Reply Quote 0
          • O Offline
            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
            • O Offline
              onis_uk @sdetweil
              last edited by

              @sdetweil I cant seem to update node beyond 11.15, any ideas why??

              pi@raspberrypi:~ $ sudo n latest
              installing : node-v11.15.0
              mkdir : /usr/local/n/versions/node/11.15.0
              fetch : https://nodejs.org/dist/v11.15.0/node-v11.15.0-linux-armv6l.tar.xz
              installed : v11.15.0 (with npm 6.7.0)

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

                @onis_uk armv6… hm… will have to work on this later today.

                off to pick up grandson…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil ok many thanks!

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

                    @onis_uk look at this

                    https://blog.rodrigograca.com/how-to-install-latest-nodejs-on-raspberry-pi-0-w/

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil Still just get a ton of errors, looks like I might just have to format and start again :anxious_face_with_sweat:

                      The fragility of MM is what kills it for me, one update and its all messed up, too many dependencies and fussy stuff going on, makes it so hard for the average user to deal with.

                      S 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @onis_uk
                        last edited by sdetweil

                        @onis_uk pi0 has been kicked to the side by the internet community, harder to find stuff still working on armv6l

                        nothing to do with mm

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        O 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