• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

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

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 4 Posters 2.4k Views 3 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.
  • K Offline
    Kelemvor
    last edited by Nov 27, 2018, 4:11 AM

    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 B 2 Replies Last reply Nov 27, 2018, 4:37 AM Reply Quote 0
    • S Offline
      sdetweil @Kelemvor
      last edited by Nov 27, 2018, 4:37 AM

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer @Kelemvor
        last edited by Nov 27, 2018, 5:07 AM

        @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 Offline
          Kelemvor
          last edited by Nov 27, 2018, 11:48 PM

          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?

          M 1 Reply Last reply Nov 28, 2018, 12:45 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Kelemvor
            last edited by Nov 28, 2018, 12:45 AM

            @kelemvor

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

            Create a working config
            How to add modules

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