Read the statement by Michael Teeuw here.
Brand new install failing: bash: line 112: npm: command not found
-
I’m trying to install MM by following this guide:
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6After 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!
-
@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
-
@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.
-
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?
-
I don’t think you want the Lite version. Raspbian Desktop, yes.