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.

    Installation Problems

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 444 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.
    • D Offline
      davidgagne
      last edited by

      I’m attempting (again) to get MM working well on a Pi Zero W.
      After flashing the card with the Legacy 32-bit OS, I connected via ssh and executed bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)" and this was the result:

      Updating packages ...
      [                                                                                        <=>                                                                 ]Installing helper tools ...
      Check current Node installation ...
      Node.js is not installed.
      Installing Node.js ...
      Node.js installation Done! version=v20.9.0
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.1.0
      Installed npm version: V10.1.0
      No npm upgrade necessary.
      Cloning MagicMirror ...
      Cloning into 'MagicMirror'...
      remote: Enumerating objects: 399, done.
      remote: Counting objects: 100% (399/399), done.
      remote: Compressing objects: 100% (314/314), done.
      remote: Total 399 (delta 78), reused 185 (delta 70), pack-reused 0 (from 0)
      Receiving objects: 100% (399/399), 457.00 KiB | 797.00 KiB/s, done.
      Resolving deltas: 100% (78/78), done.
      Cloning MagicMirror Done!
      Installing dependencies ...
      (node:8329) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
      (Use `node --trace-warnings ...` to show where the warning was created)
      (node:8329) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
      (node:8329) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
      (node:8329) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
      npm notice 
      npm notice New minor version of npm available! 10.1.0 -> 10.8.3
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.3
      npm notice Run npm install -g [email protected] to update!
      npm notice 
      npm ERR! code ETIMEDOUT
      npm ERR! errno ETIMEDOUT
      npm ERR! network request to https://registry.npmjs.org/ignore failed, reason: 
      npm ERR! network This is a problem related to network connectivity.
      npm ERR! network In most cases you are behind a proxy or have bad network settings.
      npm ERR! network 
      npm ERR! network If you are behind a proxy, please make sure that the
      npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
      
      npm ERR! A complete log of this run can be found in: /home/dvg/.npm/_logs/2024-09-28T18_28_59_417Z-debug-0.log
      Unable to install dependencies! 
      

      I have a blazing fast internet connection at home, and am not behind any sort of proxy or firewall.

      Any thoughts on how to resolve? And what’s with all the MaxListenersExceededWarning warnings?

      S 2 Replies Last reply Reply Quote 0
      • D Offline
        davidgagne @sdetweil
        last edited by

        @sdetweil I gave up. I think that MM is simply too demanding to run well on the older Pi Zero W devices. Even after dozens and dozens of attempts, and finally getting it to install perfectly and running, on a blazing fast WiFi connection (close to the signal), multiple modules repeatedly fail and don’t restart on their own, until eventually the MM software itself locks and doesn’t restart.
        At this point I’m going to simply abandon these efforts and wait until I can grab a 3 or 4; I’ll put the Zero to good use doing something else soon.
        Thanks for all your help.

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

          @davidgagne timeout is a network problem. do you have a pihole server on your network? others experiencing similar problems have reported that cause.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @davidgagne the maxlisteners problem is a bug in npm we can’t suppress

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              davidgagne @sdetweil
              last edited by

              @sdetweil No, I am not running a pihole or any other service or hardware which would cause a network delay, and the device is fairly close to the WiFi router. There’s no reason I can imagine for a network timeout.

              S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @davidgagne
                last edited by

                @davidgagne i have never experienced timeout on my pi0w

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @davidgagne did you make any progress?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    davidgagne @sdetweil
                    last edited by

                    @sdetweil I gave up. I think that MM is simply too demanding to run well on the older Pi Zero W devices. Even after dozens and dozens of attempts, and finally getting it to install perfectly and running, on a blazing fast WiFi connection (close to the signal), multiple modules repeatedly fail and don’t restart on their own, until eventually the MM software itself locks and doesn’t restart.
                    At this point I’m going to simply abandon these efforts and wait until I can grab a 3 or 4; I’ll put the Zero to good use doing something else soon.
                    Thanks for all your help.

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

                      @davidgagne understood… its tough for sure on the older hardware

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S sdetweil has marked this topic as solved on
                      • 1 / 1
                      • 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
                        OSZAR »