Navigation

    MagicMirror Forum

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

    Brand new install failing: bash: line 112: npm: command not found

    Troubleshooting
    4
    5
    1733
    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.
    • K
      Kelemvor last edited by

      I’m trying to install MM by following this guide:
      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6

      After running the bash command to actually install it, it ends with this error:
      Cloning MagicMirror Done!
      Installing dependencies …
      bash: line 112: npm: command not found
      Unable to install dependencies!

      I saw some things onlien that said to try it again a couple times but that didn’t help. Also saw something about going into the MM folder and running npm start but that doesn’t work either.

      I installed the latest Noobs Full version so don’t know if something is missing or what.

      Any help would be much appreciated.

      Thanks!

      S bhepler 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @Kelemvor last edited by

        @kelemvor you need to install npm and node.

        See [node/npm instructable](https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/#discuss

        1 Reply Last reply Reply Quote 0
        • bhepler
          bhepler Project Sponsor @Kelemvor last edited by

          @kelemvor said in Brand new install failing: bash: line 112: npm: command not found:

          I installed the latest Noobs Full version so don’t know if something is missing or what.

          There’s your problem. The Magic Mirror works with Raspian, not with Noobs. Download the latest version of Raspian, flash it to your SD card and go from there.

          One note: the command to uninstall a bunch of stuff is a little outdated. You can remove the “penguinspuzzle” entry from that command.

          1 Reply Last reply Reply Quote 0
          • K
            Kelemvor last edited by

            I thought Noobs was just an easy installer. I chose Raspbian Full from the Noobs menu and thought I was just getting Raspbian. I’ll go get straight Raspbian and see what happens.

            Does it matter if I get Raspbian Lite, Raspbian Desktop or Raspbian Desktop w/recommended software?

            Mykle1 1 Reply Last reply Reply Quote 0
            • Mykle1
              Mykle1 Project Sponsor Module Developer @Kelemvor last edited by

              @kelemvor

              I don’t think you want the Lite version. Raspbian Desktop, yes.

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