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.

    This command "node --run install-mm" causes error "-bash: node: command not found"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 38 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.
    • C Offline
      CaptainKen
      last edited by

      After installing this https://www.raspberrypi.com/software/

      I first ran both these commands:
      sudo apt full-upgrade
      sudo apt update

      Then followed documentation on this page https://docs.magicmirror.builders/getting-started/installation.html

      This command “node --run install-mm” causes error “-bash: node: command not found” on RPi 5.

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

        @CaptainKen after you did the updates, did you reboot? or close and open the terminal window??

        if you updated the OS, then its best to reboot before doing anything else

        and they should have been in the opposite order…

        update the changes list
        then install the updates

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          CaptainKen @CaptainKen
          last edited by

          I did reboot after the updates.

          I just ran these commands:
          curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
          sudo apt install -y nodejs

          node -1 (v20.19.6)
          npm -v (10.8.2)

          sudo apt full-upgrade

          Now this command “node --run install-mm” gives the error “node: bad option: --run”

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

            @CaptainKen yes, you need node 22 for that

            MagicMirror requires 22.18.0 for v2.33
            Next release is 22.21.1

            Node 24 removes 32 bit support. So we are trying to hold on to 32bit support as long as we can.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              CaptainKen @sdetweil
              last edited by

              @sdetweil Thank you for replying with some details. So you’re saying I should not have installed RPi 64-bit.

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

                @CaptainKen no. You need to install node 22.18.0

                You installed node 20

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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