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.

    installing MagicMirror on my Raspberry Pi 0 w2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 5 Posters 744 Views 5 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.
    • Y Offline
      Y_Garden @sdetweil
      last edited by

      @sdetweil

      The log was deleted during the SD card formatting process. When I tried again with a clean Raspberry Pi, it wouldn’t reboot and displayed the error “Could not install dependencies!” I’ll send you the log.

      git is already the newest version (1:2.47.3-0+deb13u1).
      build-essential is already the newest version (12.12).
      unzip is already the newest version (6.0-29).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      this should be a raspberry pi 02w
      swap control file /etc/dphys-swapfile doesn’t exist
      installed node version is v22.18.0
      installing on trixie
      installed node version = v22.18.0
      ^[[0mNo npm engines section specified in package.json, using default=V10.9.3 …^[[0m
      ^[[96mCheck current Node installation …^[[0m
      ^[[0mNode currently installed. Checking version number.
      ^[[0mMinimum Node version: ^[[1mv22.18.0^[[0m
      ^[[0mInstalled Node version: ^[[1mv22.18.0^[[0m
      ^[[92mNo Node.js upgrade necessary.^[[0m
      ^[[96mCheck current NPM installation …^[[0m
      ^[[0mNPM currently installed. Checking version number.
      ^[[0mMinimum npm version: ^[[1mV10.9.3^[[0m
      ^[[0mInstalled npm version: ^[[1mV10.9.3^[[0m
      ^[[92mNo npm upgrade necessary.^[[0m
      ^[[96mCloning MagicMirror …^[[0m
      ^[[92mCloning MagicMirror Done!^[[0m
      ^[[96mInstalling dependencies …^[[0m

      ^[[91mUnable to install dependencies! ^[[0m

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

        @sdetweil

        yes

        $cat /proc/device-tree/model
        Raspberry Pi Zero 2 W Rev 1.0
        $uname -a
        Linux raspberrypi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
        $cat /etc/issue
        Debian GNU/Linux 13 \n \l
        $cat /etc/release
        PRETTY_NAME=“Debian GNU/Linux 13 (trixie)”
        NAME=“Debian GNU/Linux”
        VERSION_ID=“13”
        VERSION=“13 (trixie)”
        VERSION_CODENAME=trixie
        DEBIAN_VERSION_FULL=13.2
        ID=debian
        HOME_URL=“https://www.debian.org/”
        SUPPORT_URL=“https://www.debian.org/support”
        BUG_REPORT_URL=“https://bugs.debian.org/”
        $getconf LONG_BIT
        64

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

          @Y_Garden interesting. I thought I pushed a fix for this a couple weeks ago

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          Y 1 Reply Last reply Reply Quote 0
          • Y Offline
            Y_Garden @sdetweil
            last edited by

            @sdetweil

            When I deleted the duplicated MagicMirror and ran the script again, the Raspberry Pi rebooted.

            install starting - Thu Nov 20 05:12:44 GMT 2025
            installing on aarch64 processor system
            the os is PRETTY_NAME=“Debian GNU/Linux 13 (trixie)” NAME=“Debian GNU/Linux” VERSION_ID=“13” VERSION=“13 (trixie)” VERS>
            total used free shared buff/cache available
            Mem: 416 204 101 3 166 211
            Swap: 16799 129 16670
            ^[[96mUpdating packages …^[[0m
            Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie-updates InRelease Hit:3 h>
            apt-get update completed ok
            Reading package lists…
            Building dependency tree…
            Reading state information…
            pv is already the newest version (1.9.31-1).
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            apt-get upgrade started
            Reading package lists…
            Building dependency tree…
            Reading state information…
            Calculating upgrade…
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            apt-get upgrade result =rc=0 Reading package lists…
            Building dependency tree…
            Reading state information…
            Calculating upgrade…
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            ^[[96mInstalling helper tools …^[[0m
            Reading package lists…
            Building dependency tree…
            Reading state information…
            curl is already the newest version (8.14.1-2+deb13u2).
            wget is already the newest version (1.25.0-2).
            git is already the newest version (1:2.47.3-0+deb13u1).
            build-essential is already the newest version (12.12).
            unzip is already the newest version (6.0-29).
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            this should be a raspberry pi 02w
            installed node version is v22.18.0
            installing on trixie
            installed node version = v22.18.0
            ^[[0mNo npm engines section specified in package.json, using default=V10.9.3 …^[[0m
            ^[[96mCheck current Node installation …^[[0m
            ^[[0mNode currently installed. Checking version number.
            ^[[0mMinimum Node version: ^[[1mv22.18.0^[[0m
            ^[[0mInstalled Node version: ^[[1mv22.18.0^[[0m
            ^[[92mNo Node.js upgrade necessary.^[[0m
            ^[[96mCheck current NPM installation …^[[0m
            ^[[0mNPM currently installed. Checking version number.
            ^[[0mMinimum npm version: ^[[1mV10.9.3^[[0m
            ^[[0mInstalled npm version: ^[[1mV10.9.3^[[0m
            ^[[92mNo npm upgrade necessary.^[[0m
            ^[[96mCloning MagicMirror …^[[0m
            ^[[92mCloning MagicMirror Done!^[[0m
            ^[[96mInstalling dependencies …^[[0m

            Ah… if you solved it a few weeks ago, I’ll take a look at what other people have posted about the same problem.

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

              @Y_Garden I solved the installing correct version of node problem.

              The reboot is happening inside npm, none of our code
              Maybe a heat or power problem?
              2w is short on ram, and trixie is bigger

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • emloweE Offline
                emlowe Module Developer
                last edited by

                My experience trying to run MM on a system with 512MB of RAM is really poor. I found it pretty frustrating really.

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

                  @emlowe yes, and the later os images are getting bigger and bigger

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  emloweE 1 Reply Last reply Reply Quote 0
                  • emloweE Offline
                    emlowe Module Developer @sdetweil
                    last edited by

                    @sdetweil I did find dietPi (https://dietpi.com/) to be the best distro for ease of installation, generally small, and still up to date - they keep up to date with Debian

                    Y 1 Reply Last reply Reply Quote 1
                    • R Offline
                      RonR
                      last edited by

                      I’m not sure you will be able to do that easily. I’m trying to get a browser to load on a PI zero 2 W because Firefox and Chrome take up too much room to fit in the tiny 512MB Ram. Even running ssh and not using the GUI it is taking close to an hour to install Midori but that may be their server because other things have worked much faster.

                      Good Luck with your project.

                      Y 1 Reply Last reply Reply Quote 0
                      • Y Offline
                        Y_Garden @emlowe
                        last edited by

                        @emlowe
                        @sdetweil

                        Ah… 2W is the worst… I’ll try again with dietpi and use this 2W for something else. I’ll try connecting it to a better Raspberry Pi. Thank you.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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